Jump to content
  • Advertisement
Sign in to follow this  
Gary the Llama

Selling games made with SDL?

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

Am I allowed to sell games I make with SDL? Also, do I have to include my game's source code when I distribute the game? (It's possible that I read the license wrong.)

Share this post


Link to post
Share on other sites
Advertisement
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
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!