Licensing is absolutely not my topic and I'm currently trying to learn about it while developing my game. I'm trying to implement the espeak-ng library into my game, so I can use it to generate robot speech in game. Only problem is that said library is licensed under GPL-v3, and based on what I've learnt, that means that if I want to link this library at compile time with my game, the GPL license "spills" over to my game aswell, meaning that I'd have to open the source of my game - which is pretty suboptimal.
Also, since the original author of that library is unreachable, I can't acquire a linking exception for the library. Hence, I'm trying to see what my possibilites are. I've read that I could write a seperate executable which links to the library, and release that executable as GPL-v3. Advantage would be that I could ship this .exe with the game and I'd have to communicate with it using any form of inter process communication, like sockets, pipes, etc.
This could be a solution, although I'd like to know the details. I'm also wondering whether it's possible to not use a seperate executable, but a runtime dependency .dll which gets delay-loaded by the game.
I'm open for discussion and eager to learn more about this topic. Thanks!
espeak-ng
README calls out GPL-incompatible terms around one its libraries. The library itself has permissive terms by its company of origin (Apple, Inc.) but the place hosting it (apparently the personal website of one of the original human authors) places non-free, GPL-incompatible terms disallowing commercial use and requiring upstream source pushback (which fails the desert island test). I'd be wary of using this code even if the GPL wasn't a problem for you.