SFML community forums

Help => General => Topic started by: netrick on August 13, 2012, 01:06:50 am

Title: Network, audio and system external dependencies
Post by: netrick on August 13, 2012, 01:06:50 am
I want to edit SFML a bit and make my own version with network-audio-system module only. One reason is size of the library, second is just learning and the most important one is getting rid of annoying GLEW and freetype mit-styles licenses (well, they aren't annoying but I just prefer using only zlib type libraries :P). In my current project I use 3d engine for graphics and SFML is being used only for network, audio and threading. But well code is a bit complicated and I'd like to be 100% sure before, what are dependencies needed for compiling sfml  network, audio and system module? Of course I will remove graphic and window module files.

Thanks
Title: Re: Network, audio and system external dependencies
Post by: eXpl0it3r on August 13, 2012, 01:18:32 am
If you want to use SFML's audio module and only use zlib licenses then you've already lost, because SFML uses OpenAL and libsndfile which are both LGPL. ;)
A list of possible dependencies can be found here (http://www.sfml-dev.org/license.php) or here (http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php).
Title: Re: Network, audio and system external dependencies
Post by: netrick on August 13, 2012, 01:30:19 am
Thanks for the links. AFAIK in LGPL libraries you don't need to mention anything if you link it without any changes, or I have to include the library's LGPL license too? So bad, it's so messed up with all those licences :P At first I thought that while using SFML I just need to put "this game uses sfml" in credits xD

EDIT:
Does anyone know a C++ audio library under zlib license? Probably there isn't one I guess :(
Title: Re: Network, audio and system external dependencies
Post by: Laurent on August 13, 2012, 08:09:16 am
Quote
Does anyone know a C++ audio library under zlib license? Probably there isn't one I guess
If there was, SFML would use it.

But what's wrong with these licences? You just need one file that lists the external libraries, the licence they use and a link to their full text.