Author Topic: cannot build and run program, error message: ld.exe | cannot find -lSDLmain  (Read 5868 times)

oyasellya

  • Guest
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