Hi,
I just installed the newest 64bit version on my Laptop, but when running it I get the following error message: ----------------------------------------------------------------------------------------------------- Platform: Windows 7 6.1 (os), amd64 (arch) 4 cores Platform: littleEndian true, 32Bit false, a-ptr bit-size 64 Platform: Java 1.7.0, Java HotSpot(TM) 64-Bit Server VM, Oracle Corporation, http://java.oracle.com/, is JavaSE: true ----------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------- Package: com.jogamp.opencl Extension Name: com.jogamp.opencl Specification Title: Java Bindings for OpenCL Specification Vendor: JogAmp Community Specification Version: 0.9 Implementation Title: Java Bindings for OpenCL Implementation Vendor: JogAmp Community Implementation Vendor ID: com.jogamp Implementation URL: http://jocl.jogamp.org/ Implementation Version: 0.9-b13-20110303 Implementation Branch: rc Implementation Commit: 493ff62aa94c224a7b5db6ea092e3c80ff0205bc ----------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------- Package: com.jogamp.common Extension Name: com.jogamp.common Specification Title: GlueGen Java Bindings Generator Specification Vendor: JogAmp Community Specification Version: 2.0 Implementation Title: GlueGen Run-Time Implementation Vendor: JogAmp Community Implementation Vendor ID: com.jogamp Implementation URL: http://jogamp.org/ Implementation Version: 2.0-b20-20110302 Implementation Branch: rc Implementation Commit: 2557207469fe581cbc9d51861953cdc88f1e9715 ----------------------------------------------------------------------------------------------------- Exception in thread "main" java.lang.UnsatisfiedLinkError: com.jogamp.opencl.impl.CLAbstractImpl.dispatch_clGetExtensionFunctionAddressImpl1(Ljava/lang/String;J)Ljava/nio/ByteBuffer; at com.jogamp.opencl.impl.CLAbstractImpl.dispatch_clGetExtensionFunctionAddressImpl1(Native Method) at com.jogamp.opencl.impl.CLAbstractImpl.clGetExtensionFunctionAddressImpl(CLAbstractImpl.java:1169) at com.jogamp.opencl.impl.CLImpl.clGetExtensionFunctionAddress(CLImpl.java:255) at com.jogamp.opencl.CLPlatform$1.resolve(CLPlatform.java:136) at com.jogamp.gluegen.runtime.ProcAddressTable.setEntry(ProcAddressTable.java:153) at com.jogamp.gluegen.runtime.ProcAddressTable.reset(ProcAddressTable.java:129) at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:159) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:149) at com.jogamp.opencl.CLPlatform.listCLPlatforms(CLPlatform.java:221) at com.jogamp.opencl.CLPlatform.listCLPlatforms(CLPlatform.java:212) |
On 08/13/2011 12:28 PM, barno [via jogamp] wrote:
> Hi, > > I just installed the newest 64bit version on my Laptop, but when > running it I get the following error message: > what do you mean if you say installed? How are you starting your application? Those exceptions could be caused by mixing different gluegen/jocl versions. 0.9.1 is a little bit experimental, but it ran well on all systems i tested on. -- - - - - http://michael-bien.com |
I deleted the older version of JOCL from my hard drive and removed it from my build path. Then I downloaded https://github.com/downloads/mbien/jocl/jocl-0.9-bmanual-20110810-windows-amd64.zip and extracted all contents to a folder within my eclipse workspace. Finally I added the new gluegen-rt.jar and jocl.jar to my build path.
|
On 08/18/2011 12:48 AM, barno [via jogamp] wrote:
> I deleted the older version of JOCL from my hard drive and removed it from my > build path. Then I downloaded > https://github.com/downloads/mbien/jocl/jocl-0.9-bmanual-20110810-windows-amd64.zip > and extracted all contents to a folder within my eclipse workspace. Finally > I added the new gluegen-rt.jar and jocl.jar to my build path. i see - thats a very common mistake. JOCL requires native libraries for execution, those are located in the foo-natives-*.jars and must be in the java.library.path which you can set with -Djava.library.path="foo" as explained in the wiki. there is now a more convenient way to use jocl, however you will have to download the latest build: https://github.com/downloads/mbien/jocl/jocl-0.9.1-bmanual-20110811-linux-win-mac-bundle.zip just put all jocl and gluegen-rt jars into classpath and you should be set. With all jars i mean jocl.jar, gluegen-rt.jar and the corresponding *-natives-*.jars. i will continue to tweak the bundeling and hope to simplify things with time. (next step is to reduce jar count) regards, michael |
Free forum by Nabble | Edit this page |