Jump to content
  • Advertisement
Sign in to follow this  
NUCLEAR RABBIT

Linking SDL Gets Lame

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

Hello, Im just learning SDL, and I always have to link this in devC++ "project->project setting->parameters" -lmingw32 -lSDLmain -lSDL -lSDL_image in the linker section. My question is, is there a way to put this in every SDL project without having to link this so that i dont have to type it everytime, because I always have to seach for what to type in the linking section. thanx for an help

Share this post


Link to post
Share on other sites
Advertisement
I've never done this, but you should be able to make a project template that already includes the libraries and any basic source files you want. Take a look at the pre-existing templates and see how they work.

Share this post


Link to post
Share on other sites
Theres no reason to touch the properties at all anyway. Just add the .lib file to the project, and it will be linked.

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!