Re: Fullscreen on secondary monitor
Posted by elect on
URL: https://forum.jogamp.org/Fullscreen-on-secondary-monitor-tp4032833p4033048.html
So, since I finally made it building JOGL I wanted to runt the TestScreenMode01aNEWT but I get some errors with the libs
ant -f D:\\Documents\\NetBeansProjects\\jogl\\nbproject\\ide-file-targets.xml -Drun.class=com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01aNEWT run-selected-file-in-junit
init:
compile-test:
run-selected-file-in-junit:
Desired mode w/ resolution 800x600
JUnit version 4.11
Thread-1 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1409812898922 ms +++ localhost/127.0.0.1:59999 - Locked within 1004 ms, 1 attempts
EE
Time: 3,146
There were 2 failures:
1) com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01aNEWT
java.lang.UnsatisfiedLinkError: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\file_cache\jln5481176273947278611\jln5012067939510932583\gluegen-rt.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
SLOCK [T Thread-0 @ 1409812901059 ms XXX localhost/127.0.0.1:59999 - Kill @ JVM Shutdown
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1062)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:575)
at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:96)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:459)
at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:388)
at com.jogamp.common.os.Platform$1.run(Platform.java:209)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.common.os.Platform.<clinit>(Platform.java:179)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120)
at com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01aNEWT.initClass(TestScreenMode01aNEWT.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:96)
at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:47)
at org.junit.runner.JUnitCore.main(JUnitCore.java:40)
at com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01aNEWT.main(TestScreenMode01aNEWT.java:265)
2) com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01aNEWT
java.lang.NoClassDefFoundError: Could not initialize class com.jogamp.common.os.Platform
at javax.media.nativewindow.NativeWindowFactory$2.run(NativeWindowFactory.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.nativewindow.NativeWindowFactory.<clinit>(NativeWindowFactory.java:174)
at com.jogamp.opengl.test.junit.util.UITestCase.resetXRandRIfX11(UITestCase.java:116)
at com.jogamp.opengl.test.junit.util.UITestCase.oneTimeTearDown(UITestCase.java:250)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:96)
at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:47)
at org.junit.runner.JUnitCore.main(JUnitCore.java:40)
at com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01aNEWT.main(TestScreenMode01aNEWT.java:265)
FAILURES!!!
Tests run: 0, Failures: 2
D:\Documents\NetBeansProjects\jogl\nbproject\ide-file-targets.xml:34: Java returned: 1
BUILD FAILED (total time: 3 seconds)
I dont get why it is looking for the gluegen-rt.dll in C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\file_cache\jln5481176273947278611\jln5012067939510932583