Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: vurentjie on March 03, 2008, 10:38:35 pm
-
hi,
i am trying to get sdl up and running with code::blocks, followed problem solving solutions from undefined reference to Winmain@16, and added the other linkers
winmm
gdi32
dxguid
then the others
SDLmain
SDL
mingw32
mwindows
but then i get ld.exe cannot find -lmwindows....
i am presuming it is part of Mingw somehow, since ld.exe is in Mingw, but cannot locate it there,
i have even looked through another plain installation of Mingw but can't find it...
what is mwindows......what do i do here?
-
the l is wrong. It has to be "-mwindows".
-
You seem to add the parameter -mwindows in wrong place. Everything which you add to the left column ("Link libraries") is prefixed with "-l".
Try like this:
(http://img186.imageshack.us/img186/472/tmppz0.png)