Login  Register

How run jogl demos?

Posted by elect on Jun 06, 2013; 1:08pm
URL: https://forum.jogamp.org/How-run-jogl-demos-tp4029347.html

Until now I never cared to do in the right way, I was just creating a new project, adding the /src and fix dependency by dependency..

For this reason I would like to ask for some tips to clone through git the https://github.com/sgothel/jogl-demos.git in netbeans:

- I select the master Branch and clone it

- after cloning, it says 8 projects were cloned then I selected and opened all of them (jbullet, jogl-demos, jogl-mvn-test, jp4da, jp4da-core, jp4da-desktop, RedBook Samples... 7?)

- then a priming trivial-test (C:\Users\gbarbieri\Documents\jogl-demos\maven\trivial-test; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.7.0_21" "\"C:\\Program Files\\NetBeans 7.3\\java\\maven\\bin\\mvn.bat\"" --update-snapshots --fail-at-end --also-make --projects . install) came out and I run it

- then another one (C:\Users\gbarbieri\Documents\jogl-demos\maven\jp4da; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.7.0_21" "\"C:\\Program Files\\NetBeans 7.3\\java\\maven\\bin\\mvn.bat\"" --update-snapshots --fail-at-end --also-make --projects jp4da-core,jp4da-desktop install) and I run it but it returned an error

Failed to execute goal on project jp4da-core: Could not resolve dependencies for project com.io7m.examples.jp4da:jp4da-core:jar:1.0.0: Could not find artifact org.jogamp.jogl:jogl-all:jar:2.0-rc11post03 in central (http://repo.maven.apache.org/maven2) -> [Help 1]

But since I dont think this is something I could be interested in I dont care

However at the end most of them show error, expecially jogl-demos.. if I click on Properties -  Java Sources Classpath, I can see it is pointing to the following dependencies...

../gluegen/build/gluegen-rt.jar
../jogl/build/nativewindow/nativewindow.all.jar
../jogl/build/jogl/jogl.all.jar
../jogl/build/newt/newt.all.jar
../joal/build/joal.jar


Where am I supposed to find them?