Results 1 to 3 of 3

Thread: Using Clanlib for commercial projects

  1. #1

    Question Using Clanlib for commercial projects


    I'm pretty new to clanlib but as far as I see clanlib is a pretty well designed and complete library.

    I would love to use clanlib for my project which is closed source and should be commercial when it is finished.

    I've seen that clanlib uses some external libraries, such as SDL or zlib.

    Well, my question now is if I can use clanlib for my project, would you recommend it?

    And where are the external libraries included in clanlib?

    My game is an online 2D game so I will need the following sections of clanlib:
    The whole display & network features as well as database, threading and xml services.

    Do I have to watch for parts of external libraries, or are these features purely clanlib?

    I'm sorry because I didn't have the time to go through the whole code and I hope to find someone that is more experienced with clanlib.

    Help is really appreciated

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Bergen, Norway


    Clanlib uses the very liberal BSD style license, so you can use ClanLib itself in a closed source commercial project without problems. We appreciate being mentioned, though.

    ClanLib does not use SDL (unless you're using very old version), so you avoid that commercial license they now use.

    I'm not a license expert at all, but just browsing through the dependency licenses:

    Display has a dependency to libjpeg - you need to include the line "this software is based in part on the work of the Independent JPEG Group".

    Display also has a dependecy to libpng, they say "If you use this
    source code in a product, acknowledgment is not required but would be

    If you are using the freefont fonts, you "must acknowledge somewhere in your documentation that you have used the FreeType code".

    Core has a dependency to zlib, which has a license saying "an acknowledgment in the product documentation would be appreciated but is not required."

    ClanSql uses sqlite, which is public domain, so no requirements there.

    So, basically, all you need to do is to have a readme, credits section or similar with the text above

  3. #3


    Thank you very much, I really appreciate your efford!

    I'm no license expert either and I tried to understand how clanlib is built upon other external libraries.

    It's great to hear that I'm able to use this fantastic library.

Similar Threads

  1. Replies: 3
    Last Post: 06-29-2011, 01:50 AM
  2. Clanlib projects site ?
    By seby in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 12-06-2006, 09:35 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts