Jump to content
  • Advertisement
Sign in to follow this  
Thomas Bartholemew

SDL Weirdness

This topic is 3793 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok so absolute newcomer here. Me and a friend are working on a simple game, he works on Linux and he has just sent some code over to me. We are using SDL, although when I compile his code I get loads of errors, telling me that the compiler can't find certain parts of the SDL library, for example "SDL_image.h". the de-bugger says: SDL\SDL_image.h: No such file or directory So you might think that I've been rubish and not installed the library properly or that I've set up my compiler wrong but I've narrowed it down to the fact that SDL Library I'm using is missing bits. If I search my computer for SDL_image.h it can't be found. I use the standard library from here: http://www.libsdl.org/download-1.2.php What's going on here? Any help really appreciated.....I've got an interview at a games developement company next week! Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Thank you that's great! I have one more stupid question though. When you download the standard SDL and un-zip it, it's organised in to foledrs like 'bin' and 'include', so it's obvious where to copy them to on your computer. But with these additional libraries they dont look that organised so how do I know where to put all the files so the compiler can see them? I am using Dev-C++. Thanks

Share this post


Link to post
Share on other sites
Lets take SDL_image as an example. What we want is the developer version of the library. This appears to be the file "SDL_image-devel-1.2.6-VC8.zip". Download this, and there are "include" and "lib" folders in it. Repeat for each library.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!