Hello,
I am trying to use jogl on linux Mandrake AMD64 without any success so far…
First error was:
----------8<--------------------------------------------------
BUILD FAILED
/home/altrent/jogl/make/build.xml:1050:
Use a platform specific target: linux, macosx, solaris, win32.vc6, win32.vc7, win32.mingw
----------8<--------------------------------------------------
I modified the src/net/java/games/gluegen/StructLayout.java file adding “(os.startsWith(“linux”) && cpu.equals(“amd64”)) ||” to line 126.
It did the trick, but is probably not the best solution as now I have below 100 errors and I have no clue how to correct them…
----------8<--------------------------------------------------
java.compile:
[javac] Compiling 71 source files to /home/altrent/jogl/build/classes
[javac] /home/altrent/jogl/build/gensrc/classes/net/java/games/jogl/GL.java:56: cannot resolve symbol
[javac] symbol : class WGL
[javac] location: interface net.java.games.jogl.GL
[javac] public interface GL extends WGL, GLX, CGL
[javac] ^
[javac] /home/altrent/jogl/build/gensrc/classes/net/java/games/jogl/GL.java:56: cannot resolve symbol
[javac] symbol : class GLX
[javac] location: interface net.java.games.jogl.GL
[javac] public interface GL extends WGL, GLX, CGL
[javac] ^
[javac] /home/altrent/jogl/build/gensrc/classes/net/java/games/jogl/GL.java:56: cannot resolve symbol
[javac] symbol : class CGL
[javac] location: interface net.java.games.jogl.GL
[javac] public interface GL extends WGL, GLX, CGL
[javac] ^
[javac] /home/altrent/jogl/src/net/java/games/jogl/GLDrawable.java:104: cannot resolve symbol
[javac] symbol : class GLU
[javac] location: interface net.java.games.jogl.GLDrawable
[javac] public GLU getGLU();
[javac] ^
…stripped…
----------8<--------------------------------------------------
I would be glad to know that someone got this library to run on an AMD64 linux.
Thanks in advance!