Mixing C and Java opengl calls with JOGL
Posted by christopherplawrence on Jan 17, 2020; 5:38pm
URL: https://forum.jogamp.org/Mixing-C-and-Java-opengl-calls-with-JOGL-tp4040269.html
Apologies if this has already been answered; I've spent a while searching and have come up empty.
I have an Android application using GLES 3.0, invoked both through the Java and C APIs. I am trying to transition this to JOGL so it can be run on desktop as well. I'm assuming that mixed invocation should be possible. I would like to have JOGL manage the context.
How should I configure the build of my C library so that it's linked to the same definitions for the GLES API as what JOGL will be using at runtime?
I am using "jogamp/make/stub_includes" and "gluegen/make/stub_includes" for the include path, but am at a dead end for linking.
My environment is Windows/VS. I can switch to any other desktop environment to get an initial prototype going, but will need windows (compiler agnostic) for eventual production.