Hi,

I've just downloaded the pocl source from github, and I'm currently trying
to build it on Ubuntu 13.10 64 bit. I've got clang3.3-dev and llvm3.3-dev,
so everything goes fine for a while, until it fails when building
sampler_address_clamp.c, giving this error:

sampler_address_clamp.o: In function `main':
/home/gareth/Desktop/pocl/tests/kernel/sampler_address_clamp.c:118:
undefined reference to `clCreateImage'.

I think I know why this is - I've been doing some stuff with CUDA, so I
downloaded the nVidia CUDA toolkit package which also comes with OpenCL
development files - however these are 1.1 headers and libraries, so when
clang looks for opencl.h and links against -lOpenCL, it finds the nVidia
files which don't contain clCreateImage which comes with 1.2.

Is there a way around this? I've been quite interested in pocl as the
nVidia support for OpenCL is somewhat lackluster...

thanks
Gareth Owen
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to