Login  Register

Re: Available GLVersions not set for EGLGraphicsDevic

Posted by fredand44 on Oct 26, 2020; 11:37am
URL: https://forum.jogamp.org/Available-GLVersions-not-set-for-EGLGraphicsDevic-tp4040111p4040853.html

Hello
I finally manage to free some time and compile my Java3D project with the Jogamp Java3D 1.7.0, Jogamp-fat 2.4.0 and run it with Java 8 and Java 11. So now I can run it on my Raspberry PI 4.
(Before I experienced: Available GLVersions not set for EGLGraphicsDevice)
Thanks a lot to the Jogamp-team!

This is what I needed to do.

Jogamp-fat 2.4.0  for 1.7.0
        Downloaded from: https://jogamp.org/deployment/archive/master/gluegen_937-joal_660-jogl_1506-jocl_1147/fat/ (at https://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/ it still points to 2.3.2)
       
Installed the jar into my local repo
        mvn install:install-file -Dfile=/home/fredrik/Desktop/java3d-1.7/jogamp-fat.jar -DgroupId=com.jogamp -DartifactId=jogamp-fat -Dversion=2.4.0 -Dpackaging=jar
This gave my the possible dependency to use in my project:
                <dependency>
                        <groupId>com.jogamp</groupId>
                        <artifactId>jogamp-fat</artifactId>
                        <version>2.4.0</version>
                </dependency>
       
Java3D 1.7.0
        Downloaded from http://jogamp.org/deployment/java3d/1.7.0-pre1/jogamp-java3d.7z

Installed the jars into my local repo
        mvn install:install-file -Dfile=/home/fredrik/Desktop/java3d-1.7/j3dcore.jar -DgroupId=org.jogamp.java3d -DartifactId=j3dcore -Dversion=1.7.0 -Dpackaging=jar
        mvn install:install-file -Dfile=/home/fredrik/Desktop/java3d-1.7/j3dutils.jar -DgroupId=org.jogamp.java3d -DartifactId=j3dutils -Dversion=1.7.0 -Dpackaging=jar
        mvn install:install-file -Dfile=/home/fredrik/Desktop/java3d-1.7/vecmath.jar -DgroupId=org.jogamp.java3d -DartifactId=vecmath -Dversion=1.7.0 -Dpackaging=jar

This gave my the possible dependencies to use in my project:
                <dependency>
                        <groupId>org.jogamp.java3d</groupId>
                        <artifactId>j3dcore</artifactId>
                        <version>1.7.0</version>
                </dependency>
                       
                <dependency>
                        <groupId>org.jogamp.java3d</groupId>
                        <artifactId>j3dutils</artifactId>
                        <version>1.7.0</version>
                </dependency>
               
                <dependency>
                        <groupId>org.jogamp.java3d</groupId>
                        <artifactId>vecmath</artifactId>
                        <version>1.7.0</version>
                </dependency> 

After this I changed all my imports in my code.
Then I could compile my project and run it from my PI 4.
Below is a link to a short clip:
https://youtu.be/T64xZATQk2E

Hope this help's someone else.

Best regards
Fredrik