We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › opengl on macosx, applet error
Page Index Toggle Pages: 1
opengl on macosx, applet error (Read 1018 times)
opengl on macosx, applet error
Aug 17th, 2008, 11:34pm
 
just downloaded 0146, and i can't seem to run any applets with opengl. it gives me the following warning:

"error: unable to install the native file locally"

does anyone know what that's about?

*edit:
this is the console error:

java.io.FileNotFoundException: <path to applet>/applet/gluegen-rt-natives-macosx-universal.jar (No such file or directory)
     at java.io.FileInputStream.open(Native Method)
     at java.io.FileInputStream.<init>(FileInputStream.java:106)
     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
     at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
     at com.sun.opengl.util.JOGLAppletLauncher.saveNativesJarLocally(JOGLAppletLauncher.
java:775)
     at com.sun.opengl.util.JOGLAppletLauncher.refreshJOGL(JOGLAppletLauncher.java:665)
     at com.sun.opengl.util.JOGLAppletLauncher.access$100(JOGLAppletLauncher.java:166)
     at com.sun.opengl.util.JOGLAppletLauncher$4.run(JOGLAppletLauncher.java:411)
Unable to install the native file locally
Re: opengl on macosx, applet error
Reply #1 - Aug 18th, 2008, 2:26pm
 
I have the exact same problem.

/Johan
Re: opengl on macosx, applet error
Reply #2 - Aug 18th, 2008, 6:09pm
 
try downloading this zip file:
https://gluegen.dev.java.net/servlets/ProjectDocumentList?folderID=9262&expandFo
lder=9262&folderID=0
unzip it, and put the jar files in processing/libraries/opengl/library.

then try an export, does that work? i'm not sure why it's looking for gluegen, and why that seems to have been separated from the jogl release.
Re: opengl on macosx, applet error
Reply #3 - Aug 18th, 2008, 8:39pm
 
Thanks for trying.
I did get the "Trust or No Trust" dialog this time, didn't happen before, which is nice, but it still gives me the "Couldn't install..." warning.

Thanks for the try though.

/Johan
I'm on MacOS 10.5.4
Re: opengl on macosx, applet error
Reply #4 - Aug 18th, 2008, 9:07pm
 
k, found the problem, though it involves some additional changes to export.txt and the index.html file for the applet. preparing another release now that cleans things up.
Re: opengl on macosx, applet error
Reply #5 - Aug 18th, 2008, 10:29pm
 
things are fixed in release 0147, now available as the default download.
Re: opengl on macosx, applet error
Reply #6 - Aug 18th, 2008, 11:18pm
 
Excellent Smiley
Big thanks.
It works like a charm.

/Johan
Re: opengl on macosx, applet error
Reply #7 - Aug 18th, 2008, 11:28pm
 
yes, this works for me too - thanks


unfortunately, it only seems to work on my own (macosx) computer. when i send a link to someone using windows, it just perpetually "loads"
Re: opengl on macosx, applet error
Reply #8 - Aug 18th, 2008, 11:43pm
 
i've tested it on both linux and windows and it's working fine on my end. they may need to quit the browser, flush the cache, get rid of bad jogl versions in their path, who knows...
Re: opengl on macosx, applet error
Reply #9 - Aug 19th, 2008, 4:40am
 
hmm, ok. just to be sure - you mean you compiled an applet using OPENGL on macosx, and then saw it run on both linux and windows?
Page Index Toggle Pages: 1