processing4 icon indicating copy to clipboard operation
processing4 copied to clipboard

Update to JOGL 2.5

Open sampottinger opened this issue 1 year ago • 3 comments

Just flagging that the good folks at JOGL got a 2.5 release out!

https://jogamp.org/wiki/index.php?title=SW_Tracking_Report_Objectives_for_the_release_2.5.0

sampottinger avatar Nov 27 '23 16:11 sampottinger

Whoa! That's great news, since we're using a custom build at the moment, and it'd be great to replace it. (Fingers crossed that it has the necessary fixes we've patched in.)

benfry avatar Nov 30 '23 18:11 benfry

:clap:

sampottinger avatar Nov 30 '23 22:11 sampottinger

It would be nice to also switch to use the jogamp-fat.jar:

https://jogamp.org/deployment/archive/rc/v2.5.0/fat/

Let me explain why, If you have a project in (eclipse / vscode / ...):

C:\Users\clank\Desktop\some_project

And I have the jar files that come with processing in: C:\Users\clank\Desktop\some_project\libs\processing

jars

Then when running you get the following error:

java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\clank\Desktop\some_project\natives\windows-amd64\gluegen_rt.dll

The fix would be to move the OS specific folders to a folder called natives in the root of the project. This is not very nice however, and it's much prefered if they can live in the lib folder.

Using jogamp-fat.jar fixes this.

clankill3r avatar Dec 02 '23 10:12 clankill3r