From: David GF <da...@da...> - 2009-09-08 20:38:55
|
Hello! I've got a problem when compiling a program that uses libode. I've built libode.a by myself using mingw with the line: ./configure --host=mingw32 --target=mingw32 --with-trimesh=gimpact --with-drawstuff=none --disable-demos I've copied the libode.a to mingw lib folder and then when linking: $(CPP) $(OBJ) -o "psp.exe" -lm -lmingw32 -lSDLmain -lSDL -mwindows -lopengl32 -lSDLmain -lSDL -lSDL_image -lglu32 -lode or $(CPP) $(OBJ) -o "psp.exe" -lm -lmingw32 -lSDLmain -lSDL -mwindows -lopengl32 -lSDLmain -lSDL -lSDL_image -lglu32 ./libode.a.win32.0.11.1 I get unresolved references. How can I fix this? I use a similar Makefile for building the same program for Linux and PSP and I don't have any problems. THe same happens with DevCpp in windows. And nm libode.a shows me all the symbols are there! Thanks David -- View this message in context: http://www.nabble.com/Linker-problems-when-cross-compiling-tp25329679p25329679.html Sent from the MinGW - User mailing list archive at Nabble.com. |