I am completly new to JOGL and I am having a hard time getting started. I’ve seen some examples using Gradle and JOGL like Modern JOGL Examples but I can not get them to start. I have problems with the dependencies.
So my questions are, if I have a barebone Gradle project, where do I add the JOGL jars and what should my settings in build.gradle be?
Thank you for the help. I do not succeed in compiling the example though. I follow the instructions line by line but I get a lot of importing errors like this:
demos\es2\RawGL2ES2demo.java:31: error: package com.jogamp.opengl does not exist
This is the same error I got on every other example I have tried to run also.
I am using Windows 10 x64 and have tried both compiling with Java 16 and Java 8.
What am I doing wrong here?
EDIT: Windows is using ; instead of : to seperate the jar files in the commands used to import it. Now The example works.