Login  Register

Re: Strange problem on new laptop

Posted by Sven Gothel on Dec 21, 2011; 3:28pm
URL: https://forum.jogamp.org/Strange-problem-on-new-laptop-tp3601952p3604337.html

On Wednesday, December 21, 2011 01:58:33 PM Tomd [via jogamp] wrote:

>
> Is there any way to find out which JAR and DLL files I need for a basic
> Windows desktop app?
>
> It took me quite a while to upgrade from 1.1.1 to 2.0 b23, I eventually
> found by trial and error, and a bit of guesswork,  that I needed
> gluegen-rt.jar, jogl.all.jar, newt.all.jar and nativewindow.all.jar (at
> least, it worked if I used those).
>
> Now I come to upgrade to rc5, and some of those JARs don't seem to be in the
> release. I can't build under NetBeans, I don't even know which JAR has the
> GL2 class.
>
> Am I missing something obvious, is there a document somewhere which explains
> what I need, or does everyone have this problem? I don't want to complain,
> JOGL is great, but this aspect of it is quite frustrating.

Sorry, we haven't updates the WIKI yet.

I have posted to this earlier:
+++
Looks like you are not using jogl.all.jar, but the atomic ones ?
For the latter you need to include the nativewindow JARs as well,
however, I would encourage the jogl.all.jar's ..

Wade likes to update our Wiki page .. however, here is a little overview
about the new JAR files, etc:

http://forum.jogamp.org/setting-up-JOGL-in-Eclipse-on-Mac-OSX-Lion-Frustration-td3435692.html#a3436274
http://forum.jogamp.org/JogAmp-Deployment-Enhancements-Automatic-loading-of-native-JARs-Applet-Application-td3362447.html
+++

And I guess the information in there should solve the problem.

In short: You just need to add gluegen-rt.jar and jogl.all.jar - done.
No more native library stuff etc.
You may attach the source zip files to their respective JAR file.

After you are through with this, maybe you like to update the Wiki pages
in this regard ? This would be highly appreciated and I will give you an account.

~Sven