Re: JOGL2...need some advice
Posted by
Michael Bien on
Jan 02, 2011; 8:48pm
URL: https://forum.jogamp.org/JOGL2-need-some-advice-tp2181185p2181474.html
Hello,
you are probably using one of the over two years old test builds of
the NB OpenGL pack. The current version of jogl changed a lot and is
not backwards compatible. The OpenGL Pack is also no longer
maintained from me (sorry to disappoint you here).
but setting up jogl in NB is easy. There are two basic steps which
you will have to do in ANY IDE:
1. add the jars to the classpath (project configuration)
2. add the native libs to the library path (run configuration)
for NetBeans (Ant based projects):
to 1. right mouse button on the project -> properties ->
Libraries -> Add JAR/Folder -> ....
to 2. (in the same project properties dialog) -> Run -> enter
in the "VM Options" text field: -Djava.library.path="path to the
native libs"
a few notes to 2:
- relative paths will work
- you see a lot more options in the nbproject/project.properties
file if you prefere editing it by hand
hope that helps a bit,
best regards,
michael
On 01/02/2011 08:33 PM, DerTheri [via jogamp] wrote:
hello @all,
i got some big big problems,
i use netbeans 6.9 and the Netbeans-Jogl2-Pack...
ist easy to install and easy to use.
my demos using fullscreen mode and flicking like hell when started
outside netbeans,
and i absolutly dont know why (vert. sync on/sync of).
i was thinking that i need a newer version/build of jogl2..
i found some libarys here and loaded the latest jogl paket i found
but i am not able to understand how to bring it to work inside
netbeans.
(one try was to use the sample jogl2 in netbeans and change the
lib: jogl.all.jar,gluegen_rt.all.jar,nativewindow.all.jar and
newt.all.jar) it ends up with thousands of errors.
i need something like -this > download this(jogl2
build),extract there,do this,do that,use this code...hello world
(perfect)
can anybody pleas help me?
--
http://michael-bien.com/