Login  Register

Re: Symbols not found trying to build JOGL

Posted by Michael Bien on Jun 29, 2010; 5:15pm
URL: https://forum.jogamp.org/Symbols-not-found-trying-to-build-JOGL-tp930288p931152.html

Hello,

the build is fine:
http://jogamp.org/chuck/job/jocl/171/

looking at the compiler error you probably have an old version of jogl.

if you are building jocl please always make sure you pulled gluegen and jogl from my repositories since they may contain changes required for jocl.

http://github.com/mbien

regards,
michael


On 06/29/2010 12:21 PM, Qu0ll [via jogamp] wrote:
I am attempting to build JOGL on this Windows 7 machine but encountered the following errors.  I followed the build instructions accurately and I am using Ant 1.8.1 and Java 6 Update 20 (32-bit).

How can I resolve these errors and get a successful build?

Thanks,

-Qu0ll

java.compile.javase:
    [javac] Compiling 70 source files to D:\JOGL\jogl\build\nativewindow\classes
    [javac] D:\JOGL\jogl\src\nativewindow\classes\javax\media\nativewindow\GraphicsConfigurationFactory.java:81: cannot find symbol
    [javac] symbol  : method createInstance(java.lang.String,java.lang.ClassLoader,java.lang.Object[])
    [javac] location: class com.jogamp.common.util.ReflectionUtil
    [javac]                     ReflectionUtil.createInstance("com.jogamp.nativewindow.impl.x11.X11GraphicsConfigurationFactory", GraphicsConfigurationFactory.class.getClassLoader(), new Object[] {});
    [javac]                                   ^
    [javac] D:\JOGL\jogl\src\nativewindow\classes\javax\media\nativewindow\NativeWindowFactory.java:119: callStaticMethod(java.lang.String,java.lang.String,java.lang.Class[],java.lang.Object[]) in com.jogamp.common.util.ReflectionUtil cannot be applied to (java.lang.String,java.lang.ClassLoader,java.lang.String,java.lang.Class[],java.lang.Object[])
    [javac]             ReflectionUtil.callStaticMethod( X11UtilClassName, cl, "initSingleton", new Class[]  { }, new Object[] { } );
    [javac]                           ^
    [javac] D:\JOGL\jogl\src\nativewindow\classes\javax\media\nativewindow\NativeWindowFactory.java:135: isClassAvailable(java.lang.String) in com.jogamp.common.util.ReflectionUtil cannot be applied to (java.lang.String,java.lang.ClassLoader)
    [javac]                           ReflectionUtil.isClassAvailable(AWTComponentClassName, cl) &&
    [javac]                                         ^
    [javac] D:\JOGL\jogl\src\nativewindow\classes\javax\media\nativewindow\NativeWindowFactory.java:136:isClassAvailable(java.lang.String) in com.jogamp.common.util.ReflectionUtil cannot be applied to (java.lang.String,java.lang.ClassLoader)
    [javac]                           ReflectionUtil.isClassAvailable("javax.media.nativewindow.awt.AWTGraphicsDevice", cl) ;
    [javac]                                         ^
    [javac] D:\JOGL\jogl\src\nativewindow\classes\javax\media\nativewindow\NativeWindowFactory.java:140: cannot find symbol
    [javac] symbol  : method getClass(java.lang.String,boolean,java.lang.ClassLoader)
    [javac] location: class com.jogamp.common.util.ReflectionUtil
    [javac]             registerFactory(ReflectionUtil.getClass(AWTComponentClassName, false, cl), factory);
    [javac]                                           ^
    [javac] D:\JOGL\jogl\src\nativewindow\classes\com\jogamp\nativewindow\impl\NativeWindowFactoryImpl.java:90: cannot find symbol
    [javac] symbol  : method getConstructor(java.lang.String,java.lang.ClassLoader,java.lang.Class[])
    [javac] location: class com.jogamp.common.util.ReflectionUtil
    [javac]                 nativeWindowConstructor = ReflectionUtil.getConstructor(windowClassName, getClass().getClassLoader(), new Class[] { Object.class, AbstractGraphicsConfiguration.class });
    [javac]                                                         ^
    [javac] 6 errors

BUILD FAILED
D:\JOGL\jogl\make\build.xml:33: The following error occurred while executing this line:
D:\JOGL\jogl\make\build-nativewindow.xml:339: Compile failed; see the compiler error output for details.


View message @ http://jogamp.762907.n3.nabble.com/Symbols-not-found-trying-to-build-JOGL-tp930288p930288.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.