SDL & VC++ Express Problem?

Started by
1 comment, last by cshowe 17 years ago
I've just installed SDL on my system and got everything setup with VC++ Express. (atleast I think I did). I am currently working on the Lazy Foo tutorial found here: http://lazyfoo.net/SDL_tutorials/lesson02/index.php. My problem is that when I launch the app within the IDE the window pops up..but none of the images display. Seeing as there were no compile errors I decided to navigate to the debug folder and try to launch the program through windows...and sure enough it displays fine. This makes me think that something is configured incorrectly. Anyone has any idea as to why it would do this? I'm really crazy about figuring everything out and just want to make sure I am doing things correctly.
Advertisement
Are the images in the same folder as the exe?

Learn to make games with my SDL 2 Tutorials

When you run a program from the IDE the working directory is the project folder and not the debug/release folder. Just put the images there instead and they should load fine

This topic is closed to new replies.

Advertisement