Login  Register

Re: Please can some help me install JOCL on OSX 10.6

Posted by Michael Bien on Sep 12, 2010; 12:44am
URL: https://forum.jogamp.org/Please-can-some-help-me-install-JOCL-on-OSX-10-6-tp1459187p1459266.html

looks like generated code does not fit to the high level API.

are you building with latest gluegen? Or do you have an old version of gluegen in the classpath?

We used to have a mac build server but had recently a few connection problems and causing build failures... so we disabled the mac.

an older build on mac:
http://jogamp.org/chuck/job/jocl/177/label=macosx-10_6-x86_64/artifact/dist/

regards,
michael

On 09/12/2010 02:06 AM, Rich George [via jogamp] wrote:
Hi I have been endeavoring for about a week now to install JOCL on my mac and I am running into a few probs (see below), please could somebody point me in the right direction.

Thanks

Rich

When running "ant jar" this is the result I get

Buildfile: /Users/rich/Development/jogamp/jocl/build.xml

-pre-init:

-init-private:

-pre-init-libraries:

-init-private-libraries:

-init-libraries:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-macrodef-javac:

-init-macrodef-junit:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

init:

-deps-jar-init:
   [delete] Deleting: /Users/rich/Development/jogamp/jocl/build/built-jar.properties

deps-jar:

-warn-already-built-jar:
[propertyfile] Updating property file: /Users/rich/Development/jogamp/jocl/build/built-jar.properties

-check-automatic-build:

-clean-after-automatic-build:

-verify-automatic-build:

-pre-pre-compile:

gluegen.properties.load.user:
     [echo] Loaded /Users/rich/gluegen.properties.
     [echo] antlr.jar=../gluegen/make/lib/antlr.jar
     [echo] junit.jar=../gluegen/make/lib/junit.jar
     [echo] win32.c.compiler=${win32.c.compiler}

prepare-build:
    [javac] Compiling 2 source files to /Users/rich/Development/jogamp/jocl/etc/build

preprocess-headers:
[uncomment-function-params] uncommenting params in /Users/rich/Development/jogamp/jocl/resources/includes/CL_orig/cl.h
[uncomment-function-params] uncommenting params in /Users/rich/Development/jogamp/jocl/resources/includes/CL_orig/cl_gl.h
     [copy] Copying 1 file to /Users/rich/Development/jogamp/jocl/resources/includes/CL
     [copy] Copying 1 file to /Users/rich/Development/jogamp/jocl/resources/includes/CL
     [copy] Copying 1 file to /Users/rich/Development/jogamp/jocl/resources/includes/CL
     [copy] Copying 1 file to /Users/rich/Development/jogamp/jocl/resources/includes/CL

-pre-compile:
     [echo]  - - - generate JOCL binding files - - -
     [echo] generate CL interface...
  [gluegen] [WARNING com.sun.gluegen.pcpp.PCPP]: "CL_ALIGNED" redefined from "params: [_x] values: [__attribute__, (, (, aligned, (, _x, ), ), )]" to "params: [_x] values: []"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
     [echo] generate CLGLI interface...
  [gluegen] [WARNING com.sun.gluegen.pcpp.PCPP]: "CL_ALIGNED" redefined from "params: [_x] values: [__attribute__, (, (, aligned, (, _x, ), ), )]" to "params: [_x] values: []"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
     [echo] generate GLImpl...
  [gluegen] [WARNING com.sun.gluegen.pcpp.PCPP]: "CL_ALIGNED" redefined from "params: [_x] values: [__attribute__, (, (, aligned, (, _x, ), ), )]" to "params: [_x] values: []"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct __GLsync"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_event"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_program"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_platform_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_device_id"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_sampler"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_kernel"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_context"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_mem"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
  [gluegen] [WARNING com.sun.gluegen.JavaEmitter]: skipping emission of unnamed struct "struct _cl_command_queue"
  [gluegen] [WARNING com.sun.gluegen.CMethodBindingEmitter]: No capacity specified for java.nio.Buffer return value for function "dispatch_clGetExtensionFunctionAddressImpl" assuming size of equivalent C return type (sizeof(void *)): java.nio.ByteBuffer dispatch_clGetExtensionFunctionAddressImpl(java.lang.String func_name)
     [echo]  - - - JOCL binding files generated - - -

-compile-depend:

-do-compile:
    [javac] Compiling 49 source files to /Users/rich/Development/jogamp/jocl/build/classes
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLBuffer.java:77: cannot find symbol
    [javac] symbol  : method slice(B,int,int)
    [javac] location: class com.jogamp.common.nio.Buffers
    [javac]             slice = (B)Buffers.slice(buffer, offset, size);
    [javac]                               ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLBuffer.java:118: warning: [unchecked] unchecked conversion
    [javac] found   : java.util.List
    [javac] required: java.util.List<com.jogamp.opencl.CLSubBuffer>
    [javac]             return Collections.EMPTY_LIST;
    [javac]                               ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLDevice.java:652: clGetDeviceInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,long,java.nio.Buffer,com.jogamp.common.nio.PointerBuffer)
    [javac]             return cl.clGetDeviceInfo(ID, name, valueSize, value, valueSizeRet);
    [javac]                      ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLSampler.java:60: clGetSamplerInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,long,java.nio.Buffer,com.jogamp.common.nio.PointerBuffer)
    [javac]             return cl.clGetSamplerInfo(ID, name, valueSize, value, valueSizeRet);
    [javac]                      ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLContext.java:78: clGetContextInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,int,<nulltype>,com.jogamp.common.nio.PointerBuffer)
    [javac]             int ret = cl.clGetContextInfo(ID, CL.CL_CONTEXT_DEVICES, 0, null, deviceCount);
    [javac]                         ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLProgram.java:50: clCreateProgramWithSource(long,int,java.lang.String[],com.jogamp.common.nio.Int64Buffer,java.nio.IntBuffer) in com.jogamp.opencl.CL cannot be applied to (long,int,java.lang.String[],com.jogamp.common.nio.PointerBuffer,java.nio.IntBuffer)
    [javac]         long id = context.cl.clCreateProgramWithSource(context.ID, 1, new String[] {src},
    [javac]                             ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLProgram.java:84: clCreateProgramWithBinary(long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.PointerBuffer,java.nio.IntBuffer,java.nio.IntBuffer) in com.jogamp.opencl.CL cannot be applied to (long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,<nulltype>,java.nio.IntBuffer)
    [javac]         long id = context.cl.clCreateProgramWithBinary(context.ID, devices.capacity(), devices, lengths, codeBuffers, /*status*/null, errBuffer);
    [javac]                             ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLProgram.java:124: clGetProgramBuildInfo(long,long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,long,int,int,<nulltype>,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clGetProgramBuildInfo(ID, device.ID, flag, 0, null, size);
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLProgram.java:147: clGetProgramInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,int,<nulltype>,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clGetProgramInfo(ID, flag, 0, null, size);
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLProgram.java:451: clGetProgramInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,int,<nulltype>,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clGetProgramInfo(ID, CL_PROGRAM_DEVICES, 0, null, size);
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:257: cannot find symbol
    [javac] symbol  : method clEnqueueWriteBufferRect(long,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,long,long,long,long,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac] location: interface com.jogamp.opencl.CL
    [javac]         int ret = cl.clEnqueueWriteBufferRect(
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:335: cannot find symbol
    [javac] symbol  : method clEnqueueReadBufferRect(long,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,long,long,long,long,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac] location: interface com.jogamp.opencl.CL
    [javac]         int ret = cl.clEnqueueReadBufferRect(
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:416: cannot find symbol
    [javac] symbol  : method clEnqueueCopyBufferRect(long,long,long,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,long,long,long,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac] location: interface com.jogamp.opencl.CL
    [javac]         int ret = cl.clEnqueueCopyBufferRect(
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:485: clEnqueueWriteImage(long,long,int,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,long,long,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,int,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueWriteImage(ID, writeImage.ID, clBoolean(blockingWrite),
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:545: clEnqueueWriteImage(long,long,int,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,long,long,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,int,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueWriteImage(ID, writeImage.ID, clBoolean(blockingWrite),
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:608: clEnqueueReadImage(long,long,int,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,long,long,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,int,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueReadImage(ID, readImage.ID, clBoolean(blockingRead),
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:668: clEnqueueReadImage(long,long,int,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,long,long,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,int,java.nio.Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueReadImage(ID, readImage.ID, clBoolean(blockingRead),
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:735: clEnqueueCopyImage(long,long,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,long,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueCopyImage(ID, srcImage.ID, dstImage.ID, ibA, ibB, ibC,
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:802: clEnqueueCopyImage(long,long,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,long,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueCopyImage(ID, srcImage.ID, dstImage.ID, ibA, ibB, ibC,
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:867: clEnqueueCopyBufferToImage(long,long,long,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,long,long,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueCopyBufferToImage(ID, srcBuffer.ID, dstImage.ID,
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:932: clEnqueueCopyBufferToImage(long,long,long,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,long,long,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueCopyBufferToImage(ID, srcBuffer.ID, dstImage.ID,
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:998: clEnqueueCopyImageToBuffer(long,long,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,long,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueCopyImageToBuffer(ID, dstBuffer.ID, srcImage.ID,
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:1063: clEnqueueCopyImageToBuffer(long,long,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,long,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueCopyImageToBuffer(ID, dstBuffer.ID, srcImage.ID,
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:1184: clEnqueueMapImage(long,long,int,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,java.nio.IntBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,int,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,<nulltype>,<nulltype>,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,java.nio.IntBuffer)
    [javac]         ByteBuffer mappedImage = cl.clEnqueueMapImage(ID, image.ID, clBoolean(blockingMap),
    [javac]                                    ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:1247: clEnqueueMapImage(long,long,int,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,java.nio.IntBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,int,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,<nulltype>,<nulltype>,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,java.nio.IntBuffer)
    [javac]         ByteBuffer mappedImage = cl.clEnqueueMapImage(ID, image.ID, clBoolean(blockingMap),
    [javac]                                    ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLCommandQueue.java:1508: clEnqueueNDRangeKernel(long,long,int,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer) in com.jogamp.opencl.CL cannot be applied to (long,long,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clEnqueueNDRangeKernel(
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLPlatform.java:101: cannot find symbol
    [javac] symbol  : method initEntry(java.lang.String,com.jogamp.common.os.NativeLibrary)
    [javac] location: class com.jogamp.opencl.impl.CLProcAddressTable
    [javac]                     table.initEntry("clGetExtensionFunctionAddressImpl", libOpenCL);
    [javac]                          ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLPlatform.java:378: clGetPlatformInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,int,java.nio.ByteBuffer,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clGetPlatformInfo(ID, key, bb.capacity(), bb, size);
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLImage.java:85: clGetImageInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,long,java.nio.Buffer,com.jogamp.common.nio.PointerBuffer)
    [javac]             return cl.clGetImageInfo(id, name, valueSize, value, valueSizeRet);
    [javac]                      ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLKernel.java:44: clGetKernelInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,int,<nulltype>,com.jogamp.common.nio.PointerBuffer)
    [javac]         int ret = cl.clGetKernelInfo(ID, CL_KERNEL_FUNCTION_NAME, 0, null, size);
    [javac]                     ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLEvent.java:119: clGetEventInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,long,java.nio.Buffer,com.jogamp.common.nio.PointerBuffer)
    [javac]             return cl.clGetEventInfo(ID, name, valueSize, value, valueSizeRet);
    [javac]                      ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/CLEvent.java:128: clGetEventProfilingInfo(long,int,long,java.nio.Buffer,com.jogamp.common.nio.Int64Buffer) in com.jogamp.opencl.CL cannot be applied to (long,int,long,java.nio.Buffer,com.jogamp.common.nio.PointerBuffer)
    [javac]             return cl.clGetEventProfilingInfo(ID, name, valueSize, value, valueSizeRet);
    [javac]                      ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/gl/CLGLContext.java:132: cannot find symbol
    [javac] symbol  : method getHandle()
    [javac] location: class javax.media.opengl.GLContext
    [javac]         glID[0] = glContext.getHandle();
    [javac]                            ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/impl/CLImpl.java:20: com.jogamp.opencl.impl.CLImpl is not abstract and does not override abstract method clEnqueueMapImage(long,long,int,long,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,com.jogamp.common.nio.Int64Buffer,int,com.jogamp.common.nio.PointerBuffer,com.jogamp.common.nio.PointerBuffer,java.nio.IntBuffer) in com.jogamp.opencl.CL
    [javac] public class CLImpl extends CLAbstractImpl {
    [javac]        ^
    [javac] /Users/rich/Development/jogamp/jocl/src/com/jogamp/opencl/util/CLInfo.java:34: cannot find symbol
    [javac] symbol  : method getNullPointerFunctions()
    [javac] location: class com.jogamp.opencl.impl.CLProcAddressTable
    [javac]                 ((CLImpl)CLPlatform.getLowLevelCLInterface()).getAddressTable().getNullPointerFunctions());
    [javac]                                                                                ^
    [javac] 34 errors
    [javac] 1 warning

BUILD FAILED
/Users/rich/Development/jogamp/jocl/nbproject/build-impl.xml:442: The following error occurred while executing this line:
/Users/rich/Development/jogamp/jocl/nbproject/build-impl.xml:228: Compile failed; see the compiler error output for details.


Thanks again for your time

Rich



View message @ http://jogamp.762907.n3.nabble.com/Please-can-some-help-me-install-JOCL-on-OSX-10-6-tp1459187p1459187.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.



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