I'm trying to build a Cython interface to a Juce program, which results in a static library to be opened by Python.
Unfortunately, it seems as if static libraries created by Juce contain an unsatisfied reference to _NSApp - which, near as I can tell is the "main function" on OS/X.
Well, when you're operating inside Python, there is, most unfortunately no NSApp. And NSApp references seem to be liberally scattered around the Juce library code...
Is there any way around this?
I'd really, really like to be able to use Juce's code from Python... right now, I'm running a completely separate client application, and using a socket connection and serialization to communicate back and forth but it's slow, and it's fragile and hard to maintain across platforms...
...which means I'm willing to do quite a lot of work to get around this issue, if it's at all possible.