Sign in to follow this  
Gary the Llama

Selling games made with SDL?

Recommended Posts

I think it's okay to sell games made with SDL. There was some catch however... You need to supply SDL source code (or the DLL, can't remember which one). Please someone correct me if I'm wrong!

Share this post


Link to post
Share on other sites
Yes, you are allowed to sell any application that uses SDL as long as you link to it dynamically (you make use of SDL by a DLL on Windows or SO library on Linux, DYN on Mac, etc) which is the default behaviour as far as I know.

You don't have to include the source to your game, SDL uses the LGPL, which was pretty much derived from the GPL with the purpose of making this posible, You must however include a note about where to get the source to SDL, or bundle a copy of the SDL source, users should be able to compile their own versions of SDL and make it work with your app, so as long as you don't modify the SDL code itself, you are safe.

If you do modify the SDL code, you must include the patches, or submit them to Sam so he may add them to the main distribution.

Share this post


Link to post
Share on other sites
If I remeber correctly, you were allowed to statically link it. The only requirement is that the user has to be able to link it with a different version, if he wants to. The easiest method is dynamic linking, but if you build your entire game into a .lib, and distribute that along, you should be able to keep the source closed and still link statically.

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