Advertisement

using SDL library for my commercial shareware games

Started by September 20, 2003 07:57 AM
1 comment, last by felixmedia 21 years, 2 months ago
Hi, is it legal to use the SDL libray for my commercial shareware game, whatever even making packing distribution, without modifying any source of it? i''m sorry that my english is not good. Does the GUN LGPL license allows me to do that legally? Moreover, must I have to use it as dynamic linked library but not static library? any helps are greatly appreciated. cheers, felixmedia
For the LGPL you must release the changes you made to the SDL library, if you made any. You will not have to release the source code to the application that uses the library. Plus you can pack it together with your app and distribute it, if you wanted to.

It doesn''t matter if it is dynamic or static. Of course, a dynamic approach is a better.
Advertisement
The SDL FAQ says the following:

quote:
Q: Can I use SDL in a commercial application?

A:
The simple answer is "Yes", just dynamically link with SDL and you''re fine.
You do not have to include the source code to your application, since the end user can drop in a new version of the SDL shared library, which is the intent of the license.

Full details are available at: http://www.libsdl.org/license.php


In other words, as long as you call all the SDL functions through the .dll files and only include the SDL header files in your project (not the SDL source code itself) you don''t have to worry about the license (because this will allow users to upgrade SDL without having to upgrade your program as well).

And if you can spare a line or two in the documentation, don''t forget to mention that you use SDL so that other people can discover this wonderful library as well.

This topic is closed to new replies.

Advertisement