Static building and bundling of SDL

Hi,

I am new to this mailing list, but have been growing very fond of SDL. I am
currently working on a couple of small games, and have started to build up a
decent object oriented codebase not just around SDL, SDL_image, and SDL_ttf,
but in general around many things that frequently pop up in game
development.

I am looking at extracting these out even more than I have from my current
two projects and building the code base into a reusable DLL. I wanted to
find out what I am allowed to do as far as statically linking the required
SDL libraries into my own DLL along with my codebase, so in future projects
I will only have to include a single DLL. I am not going to be selling any
of my projects in any way, and they will be distributed with source code
either together, or as an optional download.

I read over the liscensing terms but just want to be sure that I am not
going to be doing something I shouldn’t. I am also using SDL v1.2 by the
way.

Thanks,
Casey

I am looking at extracting these out even more than I have from my current
two projects and building the code base into a reusable DLL. I wanted to
find out what I am allowed to do as far as statically linking the required
SDL libraries into my own DLL along with my codebase, so in future projects
I will only have to include a single DLL. I am not going to be selling any
of my projects in any way, and they will be distributed with source code
either together, or as an optional download.

That would depend on the license of your own code. If it is LGPL as
well, this would be okay (and a closed source application that would
comply with the LGPL for your library would also make it comply with
SDL’s LGPL license as a side-effect).

You don’t really have to embed SDL’s source code in your package
either, you’d just need a slightly creative linker invocation for
building your DLL.

Note that it’s impossible for a closed source application to use LGPL
code on the iPhone, hence Sam’s new company, Galaxy Gameworks, being
particularly interesting to some people…On Tue, Jan 27, 2009 at 12:01 PM, casey dunham <casey.dunham at gmail.com> wrote:


http://pphaneuf.livejournal.com/