User forums > General (but related to Code::Blocks)
ld.exe cannot find -lmwindows
(1/1)
vurentjie:
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?
Belgabor:
the l is wrong. It has to be "-mwindows".
Kos:
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:
Navigation
[0] Message Index
Go to full version