Sign in to follow this  

Linking SDL in a library?

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

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

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