Skip to content

Init Error with Py5 in a P3D mode #767

@claudefalbriard

Description

@claudefalbriard

I'v built an updated platform with a RISC-V processor RV2, Operating system: Ubuntu 24.04.4 LTS, OpenJDK Runtime Environment (build 25.0.2+10-Ubuntu-124.04), Python 3.12.3 and all the JOGL .jar files added in the CLASSPATH.
The DISPLAY variable was set to local: export DISPLAY=:0.
When running a sketch with a py5-run-sketch command inside a bash script, I get the following error message:

Java exception thrown by Sketch.runSketch:
java.lang.ExceptionInInitializerError
Java exception thrown by Sketch.runSketch:
java.lang.NoClassDefFoundError: Could not initialize class com.jogamp.newt.NewtFactory

Doing the same with P2D renders I get nice Py5 graphics with no errors. What is the best way to configure the 3D resources? Is there some
hardware graphics driver dependency for new RISC-V arquitecture like missing .so files in the JOGL package? Hints or insights are welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions