Fabrizio Giudici
|
Posted: January 08, 2010 12:29 by Fabrizio Giudici
|
|
Hello to everybody. I'm testing an application with the NOGL Pack and so far it worked fine in a number of environments (Mac OS X, Linux, Solaris). I've just installed Windows 7 64bit and I don't see the 3D stuff where it should be. Looking at the logs, I see: [INFO] ------------------------------------------------------------------------------- [INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: copy C Projects/forceTen/src/application/target/forceten/extra/gluegen-runtime/gluegen-rt.jar-natives-windows-i586/gluegen-rt.dll to C Projects/forceTen/src/application/target/forceten/extra/modules/lib[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: deployed gluegen-rt.jar version: 1.0b6 [INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: copy C Projects/forceTen/src/application/target/forceten/extra/jogl-runtime/jogl.jar-natives-windows-i586/jogl_cg.dll toC Projects/forceTen/src/application/target/forceten/extra/modules/lib[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: copy C Projects/forceTen/src/application/target/forceten/extra/jogl-runtime/jogl.jar-natives-windows-i586/jogl_awt.dll toC Projects/forceTen/src/application/target/forceten/extra/modules/lib[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: copy C Projects/forceTen/src/application/target/forceten/extra/jogl-runtime/jogl.jar-natives-windows-i586/jogl.dll to C![]() Projects/forceTen/src/application/target/forceten/extra/modules/lib [INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: deployed jogl.jar version: 1.1.1a I think it's wrong, as i586 is the 32bit stuff, right? Shouldn't it be ...-windows-amd64? Thanks. |
Problem with Windows 7 64 bit - wrong binaries?
Replies: 2 - Last Post: January 10, 2010 19:43
by: Michael Bien
by: Michael Bien
showing 1 - 3 of 3
Michael Bien
|
Posted: January 08, 2010 14:02 by Michael Bien
|
|
Hi Fabrizio, thanks for reporting, ill take a look on sunday - should be easy to fix. -michael |
Michael Bien
|
Posted: January 10, 2010 19:43 by Michael Bien
|
|
Hi, I couldn't reproduce the issue on win7. I tried it with a 64bit JVM and a 32bit JVM and it worked in both cases. tested with Pack 0.5.5 (c72988bc943e0d1fce8bbb418a4fb9680687b345) 8/8/09 since it is the last release which used JOGL 1.x. here the log of the 64bit run: INFO [net.java.nativelibsupport.NativeLibSupport]: copy E:/netbeans-opengl-pack/build/cluster/gluegen-runtime/gluegen-rt.jar-natives-windows-amd64/gluegen-rt.dll to E:/netbeans-opengl-pack/build/cluster/modules/lib INFO [net.java.nativelibsupport.NativeLibSupport]: deployed gluegen-rt.jar version: 1.0b6 INFO [net.java.nativelibsupport.NativeLibSupport]: copy E:/netbeans-opengl-pack/build/cluster/jogl-runtime/jogl.jar-natives-windows-amd64/jogl_cg.dll to E:/netbeans-opengl-pack/build/cluster/modules/lib INFO [net.java.nativelibsupport.NativeLibSupport]: copy E:/netbeans-opengl-pack/build/cluster/jogl-runtime/jogl.jar-natives-windows-amd64/jogl.dll to E:/netbeans-opengl-pack/build/cluster/modules/lib INFO [net.java.nativelibsupport.NativeLibSupport]: copy E:/netbeans-opengl-pack/build/cluster/jogl-runtime/jogl.jar-natives-windows-amd64/jogl_awt.dll to E:/netbeans-opengl-pack/build/cluster/modules/lib INFO [net.java.nativelibsupport.NativeLibSupport]: deployed jogl.jar version: 1.1.1a jar:file:/C:/Program%20Files/Java/jdk1.6.0_16/jre/lib/rt.jar!/com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.class Build-Id: 1.6.0_16 however the native lib support module does not support yet upgrades from 32bit -> 64bit architectures which means if you would permanently switch between 32 and 64 bit JVMs while using the same netbeans home folder it would not get noticed and the wrong natives would be used. What does System.getProperty("os.arch"); return on your system? the pattern used for lib deployment on windows:
<ns0:os folder='-natives-windows' regex='^(?i)windows'>
<ns0:cpu folder='-amd64' regex='^(?i)amd|x64|x86_64$'/>
<ns0:cpu folder='-i586' regex='^(?i)i?+[3-9|x]86$'/>
</ns0:os>
best regards, michael |
Replies: 2 - Last Post: January 10, 2010 19:43
by: Michael Bien
by: Michael Bien

Projects/forceTen/src/application/target/forceten/extra/gluegen-runtime/gluegen-rt.jar-natives-windows-i586/gluege





