Sign in to follow this  

SDL Weirdness

This topic is 3579 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
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

This topic is 3579 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this