/
Inicio :: Foros

 F.A.Q.F.A.Q.                  Conéctese para revisar sus mensajesConéctese para revisar sus mensajes   

Error en SDL

 
      Índice del Foro elrincondelc.com -> Gráficos
Ver tema anterior :: Ver siguiente tema  
AutorMensaje
wizard90



Registrado: 03 Abr 2007
Mensajes: 1

MensajePublicado: 27/04/2007 12:41 pm
Título: Error en SDL

Weno, pues queria saber si me podias decir q le pasa porque por mas que lo intento siempre me da el mismo fallo Crying or Very sad

Este es el error del compilador:

Código:

  Circular SDL <- SDL.o dependency dropped.
  H:\Documents and Settings\JOSE\Escritorio\cosas   
  mias\programacion\Programacion C\programas complejos\Entorno 
  grafico\SDL\Makefile.win [Build Error]  [SDL.exe] Error 1 


El resultado de compilacion es el siguiente:

Código:

Compilador: Default compiler
Building Makefile: "H:\Documents and Settings\JOSE\Escritorio\cosas mias\programacion\Programacion C\programas complejos\Entorno grafico\SDL\Makefile.win"
Ejecutando  make...
make.exe -f "H:\Documents and Settings\JOSE\Escritorio\cosas mias\programacion\Programacion C\programas complejos\Entorno grafico\SDL\Makefile.win" all
make.exe: Circular SDL <- SDL.o dependency dropped.
gcc.exe -D__DEBUG__ -c SDL -o SDL.o -I"H:/Dev-Cpp/include"    -lalleg -lmingw32 -lSDLmain -lSDL -g3

gcc.exe: SDL: linker input file unused because linking not done
gcc.exe: -lalleg: linker input file unused because linking not done
gcc.exe: -lmingw32: linker input file unused because linking not done
gcc.exe: -lSDLmain: linker input file unused because linking not done
gcc.exe: -lSDL: linker input file unused because linking not done

gcc.exe -D__DEBUG__ SDL.o SDL_private.res -o "SDL.exe" -L"H:/Dev-Cpp/lib" -mwindows -lmingw32 -lSDLmain -lSDL  -g3

gcc.exe: SDL.o: No such file or directory

make.exe: *** [SDL.exe] Error 1

Ejecución Terminada


Podria ser un error en el Makefile??

Makefile:

Código:

# Project: SDL
# Makefile created by Dev-C++ 4.9.9.2

CPP  = g++.exe -D__DEBUG__
CC   = gcc.exe -D__DEBUG__
WINDRES = windres.exe
RES  = SDL_private.res
OBJ  = main.o $(RES)
LINKOBJ  = main.o $(RES)
LIBS =  -L"H:/Dev-Cpp/lib" -mwindows -lmingw32 -lSDLmain -lSDL  -g3
INCS =  -I"H:/Dev-Cpp/include"
CXXINCS =  -I"H:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"H:/Dev-Cpp/include/c++/3.4.2/backward"  -I"H:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"H:/Dev-Cpp/include/c++/3.4.2"  -I"H:/Dev-Cpp/include"
BIN  = SDL.exe
CXXFLAGS = $(CXXINCS)   -lalleg -lmingw32 -lSDLmain -lSDL -g3
CFLAGS = $(INCS)   -lalleg -lmingw32 -lSDLmain -lSDL -g3
RM = rm -f

.PHONY: all all-before all-after clean clean-custom

all: all-before SDL.exe all-after


clean: clean-custom
   ${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
   $(CC) $(LINKOBJ) -o "SDL.exe" $(LIBS)

main.o: main
   $(CC) -c main -o main.o $(CFLAGS)

SDL_private.res: SDL_private.rc
   $(WINDRES) -i SDL_private.rc --input-format=rc -o SDL_private.res


Espero que me podais echar un cable que no doy compilado bien Sad
Volver arriba
      Índice del Foro elrincondelc.com -> Gráficos
Página 1 de 1Todas las horas están en GMT - 8 Horas

 
No puede crear mensajes
No puede responder temas
No puede editar sus mensajes
No puede borrar sus mensajes
No puede votar en encuestas

(c) ElRincondelC.com

Un proyecto de UrlanHeat.com