I compiled a SDL game on my computer, that's all. (OpenTTD)
I don't remember how I set it up. Look at the Dev-C++ devpaks:
http://devpaks.org/category.php?category=SDL
Try the newest SDL library version from there.
Printable View
I compiled a SDL game on my computer, that's all. (OpenTTD)
I don't remember how I set it up. Look at the Dev-C++ devpaks:
http://devpaks.org/category.php?category=SDL
Try the newest SDL library version from there.
I think you're probably not linking with libSDLmain.a or SDLmain.lib, depending on your compiler. You need to. (As well as libSDL.a/SDL.lib, of course.) Your lib files should be in the compiler's library directory, or the location they are added to the compiler's list of library directories.
He needed to download SDL first. :p
It sounds like you don't have the Windows Platform SDK installed and setup properly. Visual C++ Express isn't setup by default to create Windows apps, only managed apps. Here's a link that helped me in setting up the Platform SDK and SDL for C++ Express 2005
www.meandmark.com/sdlvisualc.pdf
It's a pdf w/ step-by-step instructions.