Build of current source from git failed on OSX

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

Build of current source from git failed on OSX

Robert B
Not sure who needs to see this, but here is the output of ant when building the current source on OS 10.6, Java 1.6:

    [javac] /Users/me/Desktop/jogl/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableFactoryImpl.java:119: 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 canCreateGLPbuffer(AbstractGraphicsDevice device);
    [javac]                                              ^
    [javac] /Users/me/Desktop/jogl/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableFactoryImpl.java:283: 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/me/Desktop/jogl/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableFactoryImpl.java:70: 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/me/Desktop/jogl/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableFactoryImpl.java:72: 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 = config.getScreen().getDevice();
    [javac]     ^
    [javac] /Users/me/Desktop/jogl/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableImpl.java:90: 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 = getNativeSurface().getGraphicsConfiguration().getScreen().getDevice();
    [javac]                 ^
    [javac] /Users/me/Desktop/jogl/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLDrawableImpl.java:146: 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 = surface.getGraphicsConfiguration().getScreen().getDevice();
    [javac]         ^
    [javac] /Users/me/Desktop/jogl/jogl/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java:456: 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.getNativeSurface().getGraphicsConfiguration().getNativeGraphicsConfiguration();
    [javac]     ^
    [javac] 7 errors
Reply | Threaded
Open this post in threaded view
|

Re: Build of current source from git failed on OSX

Robert B
Problem solved -- was an old version of JOGL hiding in Java's extensions directory.