scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
68 stars 17 forks source link

Sciview-buttercup error on M1 Mac #498

Open gpomeranz opened 1 year ago

gpomeranz commented 1 year ago

Dear sciview Team,

I would very much like to be able to use sciview on my M1 as I've been a huge fan of ClearVolume.

I have added the sciview-buttercup site and also compiled an M1 version of gluegen and jogl (I can use the Fiji £d Viewer this way). When I try to start Sciview I get an error about spirvcrossj. I circumvented that by adding the jars from the latest version of lwjgl directly into the Fiji/jar folder. However I am now stuck on this error:

14:20:48.319 [SciJava-145da088-Thread-5] INFO SciView - Started application as PID 13886 14:20:48.329 [SciJava-145da088-Thread-5] INFO SciView - This is sciview / scenery, development version ( / (4d07a3)) Resetting language to Python java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class graphics.scenery.backends.opengl.OpenGLRenderer

My feeling is that this class is missing somwhere but I just wouldn't know where it is or to which jar to add it to. Any help appreciated!

Thank you so much in advance! I am using an M1 Mac with Ventura.

skalarproduktraum commented 1 year ago

Hi @gpomeranz! Sorry for the issue. The sciview version on the update site is actually using a relatively old version of scenery. The newer scenery versions have native M1 support, and have dropped JOGL completely. We're gonna have a new version on the update site in the next days.

If that's too late, you can use the version from the repository, I'd be happy to guide you through the process if you swing by our Zulip chat 👍

gpomeranz commented 1 year ago

Hi @skalarproduktraum, that would be fantastic! I will create and account and send you a message?

gpomeranz commented 1 year ago

Hi @skalarproduktraum

I've sent you a message on zulip. Not sure if you're getting them. I assume you've got a lot of other things going on, but just wanted to make sure you've received my messages 😃

Kind regards and thank you very much in advance one again!