Sign in to follow this  
raptorstrike

easyer linking to SDL

Recommended Posts

right now when ever i want to make a new project in sdl i have to copy all the SDL .h files to that folder along witht the dll is there any way i can make this easyer becuase if i continue to do this it will eat up alot more memory then it needs to thnx

Share this post


Link to post
Share on other sites
You weren't too specific about your environemtn so I'm going to be guessing a bit.
I'll assume you use windows, in which case put the DLLs in C:\windows\System32 where windows looks for DLLs whenever it runs a program.
As for the .h files, the convention is to putthem in [compiler folder]\include\SDL\ and to specify that as an include search directory, or you can just put them all in the include folder.

Hope this helps.

Share this post


Link to post
Share on other sites
you guessed right
but i am putting them in the include folder but it still dosnt include them or look for them there

never mind i was forgetting to include the directory in my project but thanks for the help

i was including the entire include file and my compiler didnt like that it only wanted the folder that was relevent

Share this post


Link to post
Share on other sites

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