News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

ld.exe cannot find -lmwindows

Started by vurentjie, March 03, 2008, 10:38:35 PM

Previous topic - Next topic

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: