Hi,
I'm trying to build a JUCE application from the command line (using Gradle) without the involvement of an XCode project. I get the program to build but when I run it there's no UI visible, just a bunch of error messages in the terminal:
➜ debug ./AuraVis JUCE v4.1.0 Feb 19 11:14:52 AuraVis[37760] <Warning>: CGSConnectionByID: 0 is not a valid connection ID. Feb 19 11:14:52 AuraVis[37760] <Warning>: Invalid Connection ID 0 Feb 19 11:14:52 AuraVis[37760] <Error>: Set a breakpoint at CGSLogError to catch errors as they are logged. Feb 19 11:14:52 AuraVis[37760] <Error>: CGSSetWindowTitle: Invalid window Feb 19 11:14:52 AuraVis[37760] <Warning>: CGSConnectionByID: 0 is not a valid connection ID. Feb 19 11:14:52 AuraVis[37760] <Warning>: CGSConnectionByID: 0 is not a valid connection ID. Feb 19 11:14:52 AuraVis[37760] <Warning>: Invalid Connection ID 0 Feb 19 11:14:52 AuraVis[37760] <Error>: CGSSetWindowTitle: Invalid window
Googling didn't turn up anything useful. Does anyone know what's wrong?
I'm aware there's a Gradle plugin that can build XCode projects from within Gradle, but since we're targeting Windows, too, we don't want to use it. On Windows our program works, by the way.
edit: this is from the system log:
19.02.16 12:14:52,264 launchservicesd[76]: SecTaskLoadEntitlements failed error=22 19.02.16 12:14:52,266 launchservicesd[76]: SecTaskLoadEntitlements failed error=22 19.02.16 12:14:52,279 AuraVis[38426]: CGSConnectionByID: 0 is not a valid connection ID. 19.02.16 12:14:52,279 AuraVis[38426]: Invalid Connection ID 0 19.02.16 12:14:52,280 AuraVis[38426]: Set a breakpoint at CGSLogError to catch errors as they are logged. 19.02.16 12:14:52,280 AuraVis[38426]: CGSSetWindowTitle: Invalid window 19.02.16 12:14:52,280 AuraVis[38426]: CGSConnectionByID: 0 is not a valid connection ID. 19.02.16 12:14:52,281 AuraVis[38426]: CGSConnectionByID: 0 is not a valid connection ID. 19.02.16 12:14:52,281 AuraVis[38426]: Invalid Connection ID 0 19.02.16 12:14:52,281 AuraVis[38426]: CGSSetWindowTitle: Invalid window
If more information is needed, let me know!
Thanks!