As i found several descriptions on the web how to do this, and only a mixture of them worked, here’s the a guide on setting up processing with opengl in eclipse. This assumes you have eclipse installed and downloaded the processing libraries already. Also I set it up on OSX, so paths might differ a bit on other systems:
- go to your project properties -> build path -> add external jars, and add the following four:
- still in the “add external jars” section, unfold jogl.jar, and add the native library location
- create a new run configuration (run as … ), and add the following vm argument
This makes opengl work for me in eclipse and gets rid of that pesky NoClassDefFound: Dynamic Lookup error.
Leave a Reply