jzy3d / jzy3d-api

A Java API for 3d and 2d charts
BSD 3-Clause "New" or "Revised" License
282 stars 145 forks source link

Can't run demos on M1 #296

Closed Sternbach-Software closed 1 year ago

Sternbach-Software commented 2 years ago

Describe the bug I downloaded this demos archive on my Mac M1 Air, extracted the zip, opened the terminal to the folder, ran "java -classpath "lib/*" org.jzy3d.demos.browser.DemoBrowser", and got the exception java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/cw/fhv2ffj52bn7wtd9_l8m47fc0000gn/T/jogamp_0000/file_cache/jln14372713835448460608/jln10012875064943021176/natives/macosx-universal/libgluegen-rt.jnilib. Tried importing it into Intellij following this tutorial from JOGAMP and it didn't work.

Versions (please complete the following information):

jzy3d commented 2 years ago

Hi,

M1 is supported as of 2.1.0. There is indeed no downloadable demo as you could find for 1.0 - hope I can do something similar soon.

In the meantime you may look at the new guide in progress here that will show lot of the demo you can find in the developer guide.

If you have been trying to check if M1 is supported, be confident : the guide picture have been generated with an M1.