Login  Register

Re: JOGL incompatible with SWT 4.21

Posted by Alexis Drogoul on Dec 08, 2022; 2:52pm
URL: https://forum.jogamp.org/JOGL-incompatible-with-SWT-4-21-tp4041643p4041962.html

Alexis Drogoul wrote
Hi,

Just to report that I have been able to run JOGL on Eclipse 4.23 (2022-03) using the fix posted by Peter. Being in a regular Equinox/OSGI environment, I only had to duplicate SWTAcccessor.java, fix it, add it to the sources of the plugin where the JOGL libraries reside and voila ! this class is loaded by the ClassLoader instead of the one buried in JOGL jars. Obviously a temporary solution, but better than nothing for those who do not want to recompile JOGL or wait for a new version...

Thanks guys !
Alexis
Seems like SWT strikes again. Testing this solution againstSWT 4.26 (which comes with Eclipse 2022-12) fails with an error in SWTAccessor (either the patched one or the original one) under Linux (works well on Windows and macOS)

Anyones has a clue about what has been changed in the access to GTK in this version ?