Re: Overwriting nativewindow.ws.name to force x11 on R-Pi resuls in UnsatisfiedLinkError
Posted by
gohai on
Jun 16, 2015; 8:22pm
URL: https://forum.jogamp.org/Overwriting-nativewindow-ws-name-to-force-x11-on-R-Pi-resuls-in-UnsatisfiedLinkError-tp4034695p4034716.html
Hi Sven,
Something like this (still untested, trying to set up a JOGL build environment right now):
--- a/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java
@@ -201,6 +201,10 @@ public abstract class NativeWindowFactory {
nativeWindowingTypeCustom = nativeWindowingTypePure;
} else {
nativeWindowingTypeCustom = _tmp[0].intern(); // canonical representation
+ // for testing X11 on Broadcom VC
+ if ( TYPE_BCM_VC_IV == nativeWindowingTypePure ) {
+ nativeWindowingTypePure = nativeWindowingTypeCustom;
+ }
}
}
Branch
Best
G