Login  Register

Re: OSX: "OpenCL library not found"

Posted by Esteban on Mar 17, 2012; 7:27pm
URL: https://forum.jogamp.org/OSX-OpenCL-library-not-found-tp3586437p3835134.html

I am triying to work with jogamp jocl in from linux amd64 in version 2.0-b33-20111219 and the bug stills present.

Thats the output:

Platform: LINUX / Linux 3.0.0-16-generic (os), amd64 (arch) 4 cores
MachineDescription: runtimeValidated true, littleEndian true, 32Bit false, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    8 / 8
  int32   4 / 4, int64   8 / 8
  float   4 / 4, double  8 / 8, ldouble 16 / 16
  pointer 8 / 8, page    4096
Platform: Java Version: 1.6.0_23, VM: OpenJDK 64-Bit Server VM, Runtime: OpenJDK Runtime Environment
Platform: Java Vendor: Sun Microsystems Inc., http://java.sun.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-b29-20111219
Implementation Branch: rc
Implementation Commit: c719d9420ca0205acf4a691e13687a0354018cb9
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
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-b33-20111219
Implementation Branch: rc
Implementation Commit: 013600318f24391cd6c8c541343c208736b5f4f4
-----------------------------------------------------------------------------------------------------
Exception in thread "main" com.jogamp.common.JogampRuntimeException: JOCL initialization error.
        at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:220)
        at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:148)
        at com.jogamp.opencl.CLPlatform.getDefault(CLPlatform.java:229)
        at com.jogamp.opencl.CLContext.create(CLContext.java:170)
        at com.jogamp.opencl.CLContext.create(CLContext.java:145)
        at DemoJOCL.initJavaOCL(DemoJOCL.java:22)
        at DemoJOCL.main(DemoJOCL.java:65)
Caused by: com.jogamp.common.JogampRuntimeException: OpenCL library not found.
        at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:196)
        ... 6 more