Dear experts,
One of my user is experiencing the following error: ############################################# at javax.media.opengl.GLProfile.get(GLProfile.java:643) at javax.media.opengl.GLProfile.getDefault(GLProfile.java:466) at javax.media.opengl.GLProfile.getDefault(GLProfile.java:474) at jfrog.Displayer.<init>(Displayer.java:117) at jfrog.Displayer.main(Displayer.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1914) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609) at com.sun.javaws.Launcher.run(Launcher.java:138) at java.lang.Thread.run(Thread.java:680) ############################################# Where Line117 of Displayer.java is the first line of the following block ############################################# GLProfile glp = GLProfile.getDefault(); GLCapabilities caps = new GLCapabilities(glp); caps.setDoubleBuffered(true); GLCanvas canvas = new GLCanvas(caps); ############################################# The user is running my JWS soft on Leopard: (Version : Mac OS X 10.5.8 (9L31a), Kernel Version : Darwin 9.8.0 ) I also tried to replace "GLProfile glp = GLProfile.getDefault();" by "GLProfile glp = GLProfile.getMaxFixedFunc();" but my user is getting the same error. I am using JOGL build:2.0-b41-20110916 and http://jogamp.org/deployment/v2.0-rc4/jogl-all-awt.jnlp for deployement, do you have any idea of what the problem could be? and more important, how I can fix it? Thanks in advance, Loic |
the use made a try with the following code:
GLProfile glp = GLProfile.get(GLProfile.GL2); instead of GLProfile glp = GLProfile.getDefault(); but he gots the following Exception: javax.media.opengl.GLException: Profile GL2 is not available on null, but: [] at javax.media.opengl.GLProfile.get(GLProfile.java:643) at javax.media.opengl.GLProfile.get(GLProfile.java:656) .... how it possible that no GL2 profile is available? Loic, |
Administrator
|
On Thursday, December 15, 2011 11:53:46 AM Loicus [via jogamp] wrote:
> > the use made a try with the following code: > GLProfile glp = GLProfile.get(GLProfile.GL2); > instead of > GLProfile glp = GLProfile.getDefault(); > > but he gots the following Exception: > javax.media.opengl.GLException: Profile GL2 is not available on null, but: > [] > at javax.media.opengl.GLProfile.get(GLProfile.java:643) > at javax.media.opengl.GLProfile.get(GLProfile.java:656) > .... > > how it possible that no GL2 profile is available? > Can you try etc/test.sh and etc/test_dbg.sh and send the log files ? http://jogamp.org/deployment/archive/master/gluegen_457-joal_251-jogl_584-jocl_499/archive/ (-> FAQ/Bugreport-Testing ..) The new builds contain some fixes in the initialization sequence. But even if the tests fail on your platform, the debug logs may tell us whats going wrong. In case the tests work fine, but your code fails - pls create a unit test for us to analyse. ~Sven > Loic, |
Administrator
|
In reply to this post by Loicus
On Friday, December 16, 2011 01:07:01 PM Sven Gothel wrote:
> On Thursday, December 15, 2011 11:53:46 AM Loicus [via jogamp] wrote: > > > > the use made a try with the following code: > > GLProfile glp = GLProfile.get(GLProfile.GL2); > > instead of > > GLProfile glp = GLProfile.getDefault(); > > > > but he gots the following Exception: > > javax.media.opengl.GLException: Profile GL2 is not available on null, but: > > [] > > at javax.media.opengl.GLProfile.get(GLProfile.java:643) > > at javax.media.opengl.GLProfile.get(GLProfile.java:656) > > .... > > > > how it possible that no GL2 profile is available? > > > > Can you try etc/test.sh and etc/test_dbg.sh and send the log files ? > http://jogamp.org/deployment/archive/master/gluegen_457-joal_251-jogl_584-jocl_499/archive/ > Can you try again w/ the current RC5 release ? If it still doesn't work, pls send the test.log and test_dbg.log: http://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases#Runtime_Version_Check Would be great to know whether it works on 10.5 (Leopard) or not (incl. above logs). Thank you. ~Sven |
Just to concur, I have Mac OS 10.5.8 and I'm experiencing the excact same problem.
|
I'm experiencing the same problem in a OSX 10.5.8 using the RC5 version.
I'll try to create the log files.
--
Rodrigo Andrade de Almeida |
Ok, here are both log files generated on a OSX 10.5.8 64 bits using jogl 2.0-RC5
test_dbg.log test.log
--
Rodrigo Andrade de Almeida |
Administrator
|
On Monday, January 09, 2012 01:27:53 PM andrade [via jogamp] wrote:
> > Ok, here are both log files generated on a OSX 10.5.8 64 bits using jogl > 2.0-RC5 > > http://forum.jogamp.org/file/n3644402/test_dbg.log test_dbg.log > http://forum.jogamp.org/file/n3644402/test.log test.log > Thank you _very_ much. The test_dbg.log is very helpful, it discloses: Platform: MACOS / Mac OS X 10.5.8 (os), x86_64 (arch) 8 cores JNILibLoaderBase: loadLibraryInternal(jogl_desktop) -> System.load(/var/folders/M-/M-UM2LvcEsq7dXFOVhs1Y++++TQ/-Tmp-/jogamp.tmp.cache_000000/jln5570934016882868646/jln8821705993954885166/libjogl_desktop.jnilib) (TempJarCache) java.lang.UnsatisfiedLinkError: /private/var/folders/M-/M-UM2LvcEsq7dXFOVhs1Y++++TQ/-Tmp-/jogamp.tmp.cache_000000/jln5570934016882868646/jln8821705993954885166/libjogl_desktop.jnilib: Symbol not found: _OBJC_CLASS_$_NSOpenGLLayer Referenced from: /private/var/folders/M-/M-UM2LvcEsq7dXFOVhs1Y++++TQ/-Tmp-/jogamp.tmp.cache_000000/jln5570934016882868646/jln8821705993954885166/libjogl_desktop.jnilib Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit This is pre 10.6 related only! Looks like we need to drop the NSOpenGLLayer code into another DLL loaded on >= 10.6 only - or relax dynamic library loading in a way, that no symbols are being resolved at load time, but at usage only. The latter would be preferred. If anybody knows how to do that on OSX/gcc it would help alot. (Maybe the same way as it is done under Linux ?) ~Sven |
was there any progress related to this issue?
|
Administrator
|
On Monday, January 23, 2012 07:12:52 PM Loicus [via jogamp] wrote:
> > was there any progress related to this issue? Yes, sure - it's fixed, finally :) Builds are underway .. (2nd run). I will add the all-modules/all-platforms 7z archive, then I aggregate the builds for convenient testing. +++ http://forum.jogamp.org/New-pre-release-Unsigned-gluegen-476-joal-269-jogl-623-jocl-529-tp3658085p3680612.html +++ > > Ok, I have fixed the linkage bug on OSX 10.5.8 w/ Java6 (64bit version - the Java Updates). > Note: Java5 is no more supported by any JogAmp project! > > http://jogamp.org/git/?p=jogl.git;a=commit;h=d19cd1049d55f93580c37f6a9599f7583e160258 > A local 64bit only unit test resultet in 7 failures [ 4 failures, and 3 errors ]. +++ ~Sven |
Free forum by Nabble | Edit this page |