I´ve got several problems building jogl from source on windows.
I´ve tried it from command line as well as from netbeans.
When I open gluegen and jogl projects in netbeans there are some errors in the projects.
The only one in gluegen src is in BufferFactoryInternal.java, line 53:
addressFieldOffset = UnsafeAccess.getUnsafe().objectFieldOffset(f);
Error: Cannot find Symbol UnsafeAccess
But in the generated source files of gluegen (building gluegen works!) all import statements which related to antl.*
, i.e. antlr.token
are defective (Error: package antlr does not exist) though antlr is on the classpath.
In the jogl project there are more errors but I think they occur due to the fact that jogl is not build yet (for example the GL interface cannot be found…)
But there is the big problem! When I try to compile the project i got following error:
[quote]Bibliothek "nativewindow_awt.lib" und Objekt "nativewindow_awt.exp" werden erstellt. JAWTFactory_JNI.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__JAWT_GetAWT@8" in Funktion "_Java_com_sun_nativewindow_impl_jawt_JAWTFactory_JAWT_1GetAWT0__Ljava_nio_ByteBuffer_2@12". nativewindow_awt.dll : fatal error LNK1120: 1 nicht aufgelöste externe Verweise. C:\JOGL\jogl\make\build.xml:70: The following error occurred while executing this line: C:\JOGL\jogl\make\build-nativewindow.xml:746: The following error occurred while executing this line: C:\JOGL\jogl\make\build-nativewindow.xml:672: link failed with return code 1120
[/quote]
I think in english it´s something like
[quote]Library "nativewindow_awt.lib" and Object "nativewindow_awt.exp" are compiling. JAWTFactory_JNI.obj : error LNK2019: unresolved external symbol "__imp__JAWT_GetAWT@8" in function "_Java_com_sun_nativewindow_impl_jawt_JAWTFactory_JAWT_1GetAWT0__Ljava_nio_ByteBuffer_2@12". nativewindow_awt.dll : fatal error LNK1120: 1 unresolved externals. C:\JOGL\jogl\make\build.xml:70: The following error occurred while executing this line: C:\JOGL\jogl\make\build-nativewindow.xml:746: The following error occurred while executing this line: C:\JOGL\jogl\make\build-nativewindow.xml:672: link failed with return code 1120
[/quote]
I don´t know how to solve this problem. Maybe I missed to add some folder to classpath or to systempath?
Hope that someone knows whats going wrong here…