problem with CGLPBufferObj on MAC OS Catalina

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with CGLPBufferObj on MAC OS Catalina

bojia88
just installed the org.jzy3d-0.9-tutorials and build the project in eclipse. Run any demo code give me following problem:

2020-01-28 10:10:28.862 java[40556:4714980] -[NSView CGLPBufferObj]: unrecognized selector sent to instance 0x7fcd6ae70670

2020-01-28 10:10:28.863 java[40556:4714980] Apple AWT Internal Exception: -[NSView CGLPBufferObj]: unrecognized selector sent to instance 0x7fcd6ae70670

2020-01-28 10:10:28.863 java[40556:4714980] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSView CGLPBufferObj]: unrecognized selector sent to instance 0x7fcd6ae70670'

*** First throw call stack:

(

        0   CoreFoundation                      0x00007fff2c6938ab __exceptionPreprocess + 250

        1   libobjc.A.dylib                     0x00007fff62904805 objc_exception_throw + 48

        2   CoreFoundation                      0x00007fff2c712b61 -[NSObject(NSObject) __retain_OA] + 0

        3   CoreFoundation                      0x00007fff2c5f7adf ___forwarding___ + 1427

        4   CoreFoundation                      0x00007fff2c5f74b8 _CF_forwarding_prep_0 + 120

        5   AppKit                              0x00007fff29ea4b6c -[NSOpenGLContext(NSOpenGLPixelBuffer) setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 70

        6   libjogl_desktop.jnilib              0x000000012a8d28cb setContextPBuffer + 203

        7   libjogl_desktop.jnilib              0x000000012a93628b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43

        8   ???                                 0x00000001166a49f4 0x0 + 4671031796

)

libc++abi.dylib: terminating with uncaught exception of type NSException



--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "Jzy3d".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jzy3d+unsubscribe@googlegroups.com.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/jzy3d/1d96bdef-8856-4932-876c-a106f81c3e38%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: problem with CGLPBufferObj on MAC OS Catalina

gouessej
Administrator
Hello

Try with the latest RC build of JOGL 2.4.0.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: problem with CGLPBufferObj on MAC OS Catalina

bojia88
Hi Julien,

I have downloaded latest JOGL jars and now I am getting the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilities
        at org.jzy3d.global.Settings.<init>(Settings.java:12)
        at org.jzy3d.global.Settings.getInstance(Settings.java:21)
        at org.jzy3d.demos.DemoLauncher.openDemo(DemoLauncher.java:22)
        at org.jzy3d.demos.DemoLauncher.openDemo(DemoLauncher.java:18)
        at org.jzy3d.demos.surface.WireSurfaceDemo.main(WireSurfaceDemo.java:21)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLCapabilities
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 5 more
Reply | Threaded
Open this post in threaded view
|

Re: problem with CGLPBufferObj on MAC OS Catalina

Sven Gothel
Administrator
On 2/1/20 11:04 PM, bojia88 [via jogamp] wrote:
> Hi Julien,
>
> I have downloaded latest JOGL jars and now I am getting the following error:

We have moved to com.jogamp namespace for quite some while .. (version number?).

<https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/index.html?overview-summary.html>

I thought jzy3d surely also moved to our new version long ago,
i.e. adapted to JOGL's new non-javax namespace.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: problem with CGLPBufferObj on MAC OS Catalina

gouessej
Administrator
Jzy3d 1.0.0 uses JOGL 2.3.2 but Jzy3d 0.9.1 uses JOGL 2.0-rc11.

Please switch to a more recent version of Jzy3d.
Julien Gouesse | Personal blog | Website