Hey I can't seem to get JOGL to build on my Mac. The errors are:
java.generate.cleantemp: [javac] Compiling 17 source files to /Users/lswith/jogamp/jogl/build/jogl/classes [javac] /Users/lswith/jogamp/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableFactoryImpl.java:235: reference to AbstractGraphicsDevice is ambiguous, both class javax.media.opengl.AbstractGraphicsDevice in javax.media.opengl and class javax.media.nativewindow.AbstractGraphicsDevice in javax.media.nativewindow match [javac] public abstract boolean canCreateContextOnJava2DSurface(AbstractGraphicsDevice device); [javac] ^ [javac] /Users/lswith/jogamp/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableFactoryImpl.java:72: reference to AbstractGraphicsConfiguration is ambiguous, both class javax.media.opengl.AbstractGraphicsConfiguration in javax.media.opengl and class javax.media.nativewindow.AbstractGraphicsConfiguration in javax.media.nativewindow match [javac] AbstractGraphicsConfiguration config = target.getGraphicsConfiguration().getNativeGraphicsConfiguration(); [javac] ^ [javac] /Users/lswith/jogamp/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableFactoryImpl.java:119: canCreateGLPbuffer(javax.media.opengl.AbstractGraphicsDevice) in javax.media.opengl.GLDrawableFactory cannot be applied to (javax.media.nativewindow.AbstractGraphicsDevice) [javac] if (!canCreateGLPbuffer(target.getGraphicsConfiguration().getNativeGraphicsConfiguration().getScreen().getDevice())) { [javac] ^ [javac] /Users/lswith/jogamp/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableImpl.java:81: reference to AbstractGraphicsDevice is ambiguous, both class javax.media.opengl.AbstractGraphicsDevice in javax.media.opengl and class javax.media.nativewindow.AbstractGraphicsDevice in javax.media.nativewindow match [javac] AbstractGraphicsDevice aDevice = getNativeWindow().getGraphicsConfiguration().getScreen().getDevice(); [javac] ^ [javac] /Users/lswith/jogamp/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableImpl.java:141: reference to AbstractGraphicsDevice is ambiguous, both class javax.media.opengl.AbstractGraphicsDevice in javax.media.opengl and class javax.media.nativewindow.AbstractGraphicsDevice in javax.media.nativewindow match [javac] AbstractGraphicsDevice aDevice = getNativeWindow().getGraphicsConfiguration().getScreen().getDevice(); [javac] ^ [javac] /Users/lswith/jogamp/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java:455: reference to AbstractGraphicsConfiguration is ambiguous, both class javax.media.nativewindow.AbstractGraphicsConfiguration in javax.media.nativewindow and class javax.media.opengl.AbstractGraphicsConfiguration in javax.media.opengl match [javac] AbstractGraphicsConfiguration config = drawable.getNativeWindow().getGraphicsConfiguration().getNativeGraphicsConfiguration(); [javac] ^ [javac] 6 errors BUILD FAILED /Users/lswith/jogamp/jogl/make/build.xml:37: The following error occurred while executing this line: /Users/lswith/jogamp/jogl/make/build-jogl.xml:1011: Compile failed; see the compiler error output for details. Hopefully you guys can help or get it fixed? |
http://jogamp.org/chuck/job/jogl/label=macosx-10_6-x86_64/157/console have you followed the build howto? jdk version etc would be interesting. regards, michael On 08/10/2010 06:23 PM, Luke [via jogamp] wrote: Hey I can't seem to get JOGL to build on my Mac. The errors are: -- http://michael-bien.com/ |
In reply to this post by Luke
From the log, it is said that there are two possible jogl references. They are conflicted with each other. Maybe, you should check the classpath again.
|
Free forum by Nabble | Edit this page |