News:

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

Main Menu

cannot build and run program, error message: ld.exe | cannot find -lSDLmain

Started by oyasellya, April 01, 2013, 03:58:57 AM

Previous topic - Next topic

oyasellya

hi, i'm new here :)
I've been using codeblocks for about three months and this is my first problem while build and run program.
i just made a simple "hello world" program, not an sdl project, but end up only with this error:

ld.exe     cannot find -lSDLmain

i've search the internet for the solution but i just don't get it (sorry, i'm a newbie :))
thank you for your answer

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]