JOGL GIT compilation errors.

I was just about to complain why current JOGL GIT at http://github.com/sgothel is not able to compile again,
but notice that JOGL is dead? Is that true?

Anyway, is there anybody who is still maintaining it?

I’m using Ubuntu 9.10+Eclipse 3.5.1(Galileo)+Java-6-sun


java.compile.javase:
    [javac] Compiling 51 source files to /home/jiapei/MyPrograms/Eclipse/jogl/build/nativewindow/classes
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/jawt/macosx/MacOSXJAWTWindow.java:114: cannot find symbol
    [javac] symbol  : method getCocoaViewRef()                                                                                                               
    [javac] location: class com.sun.nativewindow.impl.jawt.macosx.JAWT_MacOSXDrawingSurfaceInfo                                                              
    [javac]     drawable = macosxdsi.getCocoaViewRef();                                                                                                      
    [javac]                         ^                                                                                                                        
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/jawt/windows/WindowsJAWTWindow.java:108: cannot find symbol
    [javac] symbol  : method getHdc()                                                                                                                          
    [javac] location: class com.sun.nativewindow.impl.jawt.windows.JAWT_Win32DrawingSurfaceInfo                                                                
    [javac]     drawable = win32dsi.getHdc();                                                                                                                  
    [javac]                        ^                                                                                                                           
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/jawt/x11/X11JAWTWindow.java:102: cannot find symbol        
    [javac] symbol  : method getDrawable()                                                                                                                     
    [javac] location: class com.sun.nativewindow.impl.jawt.x11.JAWT_X11DrawingSurfaceInfo                                                                      
    [javac]     drawable = x11dsi.getDrawable();                                                                                                               
    [javac]                      ^                                                                                                                             
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:56: cannot find symbol
    [javac] symbol  : method setVisualid(long)                                                                                                                     
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo                                                                                              
    [javac]         xvi_temp.setVisualid(visualID);                                                                                                                
    [javac]                 ^                                                                                                                                      
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:57: cannot find symbol
    [javac] symbol  : method setScreen(int)                                                                                                                        
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo                                                                                              
    [javac]         xvi_temp.setScreen(screen.getIndex());                                                                                                         
    [javac]                 ^                                                                                                                                      
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:89: cannot find symbol
    [javac] symbol  : method setScreen(int)                                                                                                                        
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo                                                                                              
    [javac]         vinfo_template.setScreen(screen.getIndex());                                                                                                   
    [javac]                       ^                                                                                                                                
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:90: cannot find symbol
    [javac] symbol  : method setC_class(int)                                                                                                                       
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo                                                                                              
    [javac]         vinfo_template.setC_class(c_class);                                                                                                            
    [javac]                       ^                                                                                                                                
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:100: cannot find symbol
    [javac] symbol  : method getDepth()                                                                                                                             
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo
    [javac]                      best.getDepth() < vinfos[i].getDepth() )
    [javac]                          ^
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:100: cannot find symbol
    [javac] symbol  : method getDepth()
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo
    [javac]                      best.getDepth() < vinfos[i].getDepth() )
    [javac]                                                 ^
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:103: cannot find symbol
    [javac] symbol  : method getDepth()
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo
    [javac]                     if(rdepth <= best.getDepth())
    [javac]                                      ^
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:107: cannot find symbol
    [javac] symbol  : method getDepth()
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo
    [javac]             if ( null!=best && ( rdepth <= best.getDepth() || 24 == best.getDepth()) ) {
    [javac]                                                ^
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/com/sun/nativewindow/impl/x11/X11GraphicsConfigurationFactory.java:107: cannot find symbol
    [javac] symbol  : method getDepth()
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo
    [javac]             if ( null!=best && ( rdepth <= best.getDepth() || 24 == best.getDepth()) ) {
    [javac]                                                                         ^
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/src/nativewindow/classes/javax/media/nativewindow/x11/X11GraphicsConfiguration.java:67: cannot find symbol
    [javac] symbol  : method getVisualid()
    [javac] location: class com.sun.nativewindow.impl.x11.XVisualInfo
    [javac]         return (null!=info)?info.getVisualid():0;
    [javac]                                 ^
    [javac] /home/jiapei/MyPrograms/Eclipse/jogl/build/nativewindow/gensrc/classes/com/sun/nativewindow/impl/jawt/JAWT.java:98: cannot find symbol
    [javac] symbol  : method setVersion(int)
    [javac] location: class com.sun.nativewindow.impl.jawt.JAWT
    [javac]                 j.setVersion(JAWTFactory.JAWT_VERSION_1_4);
    [javac]                  ^
    [javac] 14 errors

BUILD FAILED
/home/jiapei/MyPrograms/Eclipse/jogl/make/build.xml:70: The following error occurred while executing this line:
/home/jiapei/MyPrograms/Eclipse/jogl/make/build-nativewindow.xml:460: Compile failed; see the compiler error output for details.

Can anybody help please?

Thank you.

Best Regards
JIA

are you using the latest version of gluegen? http://github.com/sgothel/gluegen

If you like to use the latest version of JOGL which is currently in development please make sure you pull from both (jogl and gluegen) repositories.

hahahaha…

But, the latest version of gluegen doesn’t actually support joal …
Thanks man !! I’m copying an old version of jogl now !!! Thanks…

Is that ture that jogl dead?
What’s more, why JME doesn’t support JOGL 2.X?

Anyway, what will replace JOGL as a successor?

Best Regards
JIA

as i said earlier today JOAL has no maintainer. It is frozen in time and the build setup is simply not compatible with the latest version of GueGen which is currently in development to fulfill the requirements for JOGL and JOCL.

it is always recommended to use a stable version of a software. The latest stable JOGL version is 1.1.1a.

probably because JOGL2 hasn’t been released yet.

JOGL2