Overwriting nativewindow.ws.name to force x11 on R-Pi resuls in UnsatisfiedLinkError
Posted by gohai on Jun 14, 2015; 4:04pm
URL: https://forum.jogamp.org/Overwriting-nativewindow-ws-name-to-force-x11-on-R-Pi-resuls-in-UnsatisfiedLinkError-tp4034695.html
Hello all,
Not sure if this is the right place to fill bug reports, but here we go:
When I set the property nativewindow.ws.name to "jogamp.newt.driver.x11" in order not to use the Raspberry Pi specific driver, I get an UnsatisfiedLinkError for setX11ErrorHandler0(ZZ)V. This is on a system running Eric Anholt's vc4 driver [sortof] running, but the binary vc driver still in place at /opt/vc. It does work when I remove the binary driver from the local jogl looks for it.
I don't know the root cause of this, but I believe it's due to NativeWindowFactory.java mixing nativeWindowingTypePure (here: TYPE_BCM_VC_IV due to the auto-detect) and nativeWindowingTypeCustom for its functionality.
And hints to (properly) solve this would be greatly appreciated. I can probably hack around this issue for now by removing the binary driver, but I rather not make the situation any more complicated for the Raspberry Pi users..
Thanks
Gottfried