I have an existing Project, created a long ago, and I want to add JOGL into it, so I do not have to throw away all my CVS history, or make two projects. I added the JOGL library to the project properties. The line new GLCanvas(); throws java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper.
I then added the gluegen-rt library into the project to see what would happen, even though a brand new Simple JOGL project does not have it. Now the error is java.lang.UnsatisfiedLinkError: no jogl in java.library.path.
I can run the Simple JOGL project that comes with the Netbeans OpenGL plugin. I can add the line new GLCanvas(); to main(), and everything works fine. When looking at it’s projects properties, it just shows JOGL, but there is an error down at the bottom of the dialog box, say “Some library items cannot be located”.
Are there any directions to modifying an existing project to do this, or should I reverse engineer it, looking at simple JOGL’s proect files?