Login  Register

Re: Problems with Windows 32bit

Posted by Michael Bien on Oct 21, 2010; 5:40pm
URL: https://forum.jogamp.org/Problems-with-Windows-32bit-tp1744762p1747214.html

does the webstart CLInfo demo already trigger the exception?

thanks,
michael

On 10/21/2010 06:33 PM, p.stelzer [via jogamp] wrote:
I first tried it with WinXP 32bit + Oracle JDK, but couldn't get it to work because of the UnsatisfiedLinkError. Both, the aggregated builds from jogamp and my own builds led to the same.

Later I used Vista 64bit with Oracle JDK 64bit and there was no problem executing the project. Switching to 32bit led to UnsatisfiedLinkError again.

The XP and Vista systems are completely different machines, so I thought there could be a problem with the 32bit jocl.dll. But if it works on your systems, the error might be with me.

The complete exception is as follows:

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.jogamp.common.os.WindowsDynamicLinkerImpl.LoadLibraryW(Ljava/lang/String;)J
        at com.jogamp.common.os.WindowsDynamicLinkerImpl.LoadLibraryW(Native Method)
        at com.jogamp.common.os.WindowsDynamicLinkerImpl.openLibraryGlobal(WindowsDynamicLinkerImpl.java:41)
        at com.jogamp.common.os.NativeLibrary.open(NativeLibrary.java:189)
        at com.jogamp.common.os.NativeLibrary.open(NativeLibrary.java:136)
        at com.jogamp.opencl.JOCLJNILibLoader.loadOpenCL(JOCLJNILibLoader.java:19)
        at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:96)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:93)
        at com.jogamp.opencl.CLPlatform.getDefault(CLPlatform.java:121)
        at com.jogamp.opencl.CLContext.create(CLContext.java:122)
        at com.jogamp.opencl.CLContext.create(CLContext.java:97)
        at org.yourorghere.JOGAMPTest.main(JOGAMPTest.java:45)

So, I don't understand why it doesn't work with 32bit, but with 64 without problems...

Any suggestions?

Regards,
Philipp


View message @ http://jogamp.762907.n3.nabble.com/Problems-with-Windows-32bit-tp1744762p1746710.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.


-- 
http://michael-bien.com/