Original Post
I am trying to setup Code::Blocks to use SDL. I have all the libraries setup per this tutorial.
http://lazyfoo.net/S...ocks/index.php
I am currently getting this error:
File ld.exe cannot find -lSDLmain
I know the code works; I have had my comp reformatted recently, and have taken the code from a backup. I believe that there is a step that I have forgotten in reinstalling Code::Blocks and SDL. Can anyone explain to me what this error is exactly, so I have a better idea of what to look for?
http://lazyfoo.net/S...ocks/index.php
I am currently getting this error:
File ld.exe cannot find -lSDLmain
I know the code works; I have had my comp reformatted recently, and have taken the code from a backup. I believe that there is a step that I have forgotten in reinstalling Code::Blocks and SDL. Can anyone explain to me what this error is exactly, so I have a better idea of what to look for?