Required JARs for project update

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Required JARs for project update

jurchiks
I'm updating libraries for this project: https://code.google.com/p/g3d-editor/
The old libraries are the following:
gluegen-rt.dll
gluegen-rt.jar
jogl_desktop.dll
jogl.all.jar
nativewindow_awt.dll
nativewindow_win32.dll
nativewindow.all.jar

I downloaded and put the following libraries in a separate lib folder:
gluegen-java-src.zip
gluegen-rt-natives-windows-amd64.jar (do I need this?)
gluegen-rt-natives-windows-i586.jar (do I need this?)
gluegen-rt.jar
gluegen.LICENSE.txt
jogl-all-natives-windows-amd64.jar (do I need this?)
jogl-all-natives-windows-i586.jar (do I need this?)
jogl-all.jar
jogl-java-src.zip
jogl.LICENSE.txt

I've removed all the old libraries from the project library list (using Eclipse here) and added jogl-all.jar and gluegen-rt.jar, and in Ant build.xml I have this:

<path id="classpath">
        <fileset dir="${lib}">
                <include name="gluegen-rt.jar" />
                <include name="jogl.all.jar" />
        </fileset>
</path>
<target name="compile" depends="init">
        <javac destdir="${build.classes}" optimize="on" debug="on" source="1.8" target="1.8" nowarn="off" includeantruntime="false">
                <src path="${src}" />
                <classpath refid="classpath" />
        </javac>
</target>

But when I try to compile the project, I get the following errors:
    [javac] C:\workspace\G3D-Editor\src\g3deditor\G3DEditor.java:24: error: package javax.media.opengl does not exist
    [javac] import javax.media.opengl.GLCapabilities;
...
    [javac] C:\workspace\G3D-Editor\src\g3deditor\G3DEditor.java:30: error: package com.jogamp.opengl.util does not exist
    [javac] import com.jogamp.opengl.util.Animator;

and so on.
What am I missing here?

This wiki article says those are all the libraries I need:
http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL#Using_the_7z_jogamp-all-platforms_archive
Same here:
http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html#JOGLAllInOneJARs
Reply | Threaded
Open this post in threaded view
|

Re: Required JARs for project update

Sven Gothel
Administrator
On 10/22/2014 09:51 PM, jurchiks [via jogamp] wrote:
> I'm updating libraries for this project: https://code.google.com/p/g3d-editor/
> The old libraries are the following:

> jogl.all.jar
>
> I downloaded and put the following libraries in a separate lib folder:

> jogl-all.jar

>
> I've removed all the old libraries from the project library list (using
> Eclipse here) and added jogl-all.jar and gluegen-rt.jar, and in Ant build.xml
> I have this:
>
> <path id="classpath">
>         <fileset dir="${lib}">
>                 <include name="gluegen-rt.jar" />
>                 <include name="jogl.all.jar" />
^^^^ jogl-all.jar

>
> and so on.
> What am I missing here?

Pls read our Wiki:
 - Download and installing
 - Deployment

~Sven



signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Required JARs for project update

jurchiks
Ahh, that typo...
Why the hell didn't Ant warn me about that?
Compiles and runs great, thanks!