Jump to content
  • Advertisement
Sign in to follow this  
Stormtrooper

Linking SDL in a library?

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

Advertisement
SDL itself is a library. The usual way to link with SDL is to link to the library as well as any other libraries you're using. I suppose there would be a way to combine the .lib or .a files, but I don't see the point. What are you trying to do?

Share this post


Link to post
Share on other sites
Quote:
Original post by jonahrowley
SDL itself is a library. The usual way to link with SDL is to link to the library as well as any other libraries you're using. I suppose there would be a way to combine the .lib or .a files, but I don't see the point. What are you trying to do?


Basically...I want to make a graphics engine...but don't want to deal with the crossplatform problems of input and window management. Unless those are simpler than I think they are.

Share this post


Link to post
Share on other sites
Quote:
Original post by jonahrowley
That would probably be a bad idea, as well as breaking the terms of the LGPL. Let users of your library link with SDL themselves.


Unless, of course, you make your program source code available under a GPL compatible license.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!