License for units?

Writing my own FPC/Delphi Library + Apps

I’ve pinched dynlibs and a few trivial odds+sods (to make dynlibs stand-alone)

Project I’m writing is Pascal for Whisper.cpp (a shed-load of DLLs - hence dynlibs)

The fundamentals are working at GitHub - WhisperBooks/PasWhisper - it needs the C/C++ libraries building to actually do anything though (experimenting with them a lot). Just got the Laz CLI working (FP Exceptions were killing it, didn’t need it in Delphi…). So far it only runs a benchmark - fun things to come…

So - what’s the license in regard to dynlibs (and a few bits?). Whisper.cpp is MIT, mine will be also.

When finished it’s got the ability to sort-of be game related. If the game involved you speaking to it that is. The main whisper.cpp site has Chess you can talk to (don’t think it plays, possibly just a web interface - not tried it)

As I understand, Dynlibs is a part of System unit?
If them included into FPC source code, license is GNU GPL.

OK, typo - it’s dynlib.pas, not part of system, part of CGE

If you actually mean CastleDynLib, unit in our engine:

It’s part of the engine, so follow the license is as specified on license page :slight_smile: The engine units are covered by LGPL with static linking exception, which is the same license as used by FPC RTL and Lazarus LCL, and means that you can link them (statically or dynamically) with anything on any license (including proprietary), however you need to share (with anyone who gets your binary) the source code of your modifications to the engine units (so e.g. you need to show your modified version of CastleDynLib.pas).

Of course if the result of your work is on MIT license, which is even more permissive than LGPL with static linking exception, then everything is good.

Yeah, that one :slight_smile:

Library, examples, docs etc MIT
End User App(s) not MIT (maybe even commercial)

So similar in concept to CGE + TUS I guess
Might even make a Voice controlled CGE game in the end :slight_smile:

1 Like