• Advertisement
Sign in to follow this  

Linking SDL Gets Lame

This topic is 4176 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
Quote:
Original post by Deyja
Theres no reason to touch the properties at all anyway. Just add the .lib file to the project, and it will be linked.


worked amazingly! [lol]

Share this post


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

  • Advertisement