Re: NewtCanvasSWT Linux Exception with GTK_VERSION
Posted by Wade Walker on Feb 02, 2019; 5:04pm
URL: https://forum.jogamp.org/NewtCanvasSWT-Linux-Exception-with-GTK-VERSION-tp4039442p4039461.html
Making progress! I got my VMWare virtual machine set up with Ubuntu 18.04, then installed Java/Eclipse/Ant/gcc/etc, built gluegen/JOGL from source, and verified that the unit test com.jogamp.opengl.test.junit.jogl.swt.TestNewtCanvasSWTGLn hits the line of code in com.jogamp.nativewindow.swt.SWTAccessor that accesses GTK_VERSION.
The next step is to update JOGL's copy of the SWT JARs to the latest version, then verify that the OP's bug is replicated. After that, it should be a straightforward fix as Julien explained in the bug ticket.