Login  Register

Using JOGL in an Elipse RCP

Posted by brbrett on Jul 22, 2014; 6:45pm
URL: https://forum.jogamp.org/Using-JOGL-in-an-Elipse-RCP-tp4032632.html

I have looked around the documentation and the web and not found a good recent complete correct example of how to do this.

The Wiki example http://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE#Eclipse_IDE_project  does not create a RCP plugin package.

http://www.cyslider.de/blog/index.php/2009/01/06/adding-a-jar-file-to-your-eclipse-rcp-pl describes just putting the jar into your top level project

http://www.youtube.com/watch?v=2EaaQrgvsL0 shows something similar, while unpacking the .dll's into a specific place explicitly, for which he is criticized by

"gouessej
1 year ago

3:30 You should not have to extract any DLL from the JAR (as GlueGen does it for you under the hood, it extracts and loads the proper native libraries). Maybe there was another problem in your environment or maybe this was a bug but it should have worked fine without this step. Please fix your tutorial in order to avoid confusions. If you still have this problem, please report it as a bug."


It appears that the video is correct - the .dll in the .jar files are not unpacked and found automatically in the RCP case.


Could someone please update the Wiki with a complete worked example of using JOGL in an RCP

Thank!