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 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.
"The Internet treats censorship as damage and routes around it." - John Gilmore
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.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
He needed to download SDL first.
"The Internet treats censorship as damage and routes around it." - John Gilmore
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.