Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML dependency licenses  (Read 2407 times)

0 Members and 2 Guests are viewing this topic.

LunaRebirth

  • Newbie
  • *
  • Posts: 9
    • View Profile
SFML dependency licenses
« on: October 04, 2017, 10:03:09 pm »
This may be an ignorant question, so I apologise if it is.

SFML is under the zlib license, which is great.
However, even when I statically build and link SFML to use the .lib instead of the .dll, it still depends on using the openal.dll file. I'm aware that openal does not fall under the zlib license, so does SFML then fall under both licenses?

I'm also finding various licenses on openal that don't seem to be consisted. Some sources like the wiki saying it's proprietary, while forum post suggests it's LGPL.

The above question is mostly out of curiosity.

Part 2 of my question:
Is it still okay to use SFML unmodified in my commercial project that I will sell?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: SFML dependency licenses
« Reply #1 on: October 04, 2017, 10:10:12 pm »
See the Licensing paragraph in the FAQ and check out the list of dependency license in the license.md file.

tl;dr as long as you link OpenAL as shared library, you can distribute your game commercially.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

LunaRebirth

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SFML dependency licenses
« Reply #2 on: October 05, 2017, 12:59:55 am »
Thanks. That's exactly what I was looking for.

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: SFML dependency licenses
« Reply #3 on: October 05, 2017, 02:22:11 pm »
Some sources like the wiki saying it's proprietary, while forum post suggests it's LGPL.
OpenAL is indeed now proprietary.
However, OpenAL Soft, which SFML uses, is under the LGPL licence so it's fine to use the version that SFML supplies in the way stated.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*