[Pkg-fglrx-devel] problems with compiling openCL programs

ST smntov at gmail.com
Mon Aug 5 20:43:17 UTC 2013


Hi,

I get following error while trying to compile opencl program. I have
amd-opencl-dev 1:12-6+point-3 installed. If I provide old header files
OpenCL 1.0 (or maybe 1.1) it does work. I think this problem is fixed in
Debian testing - please fix this also in the stable wheezy.

Thank you very much,
ST



/usr/include/CL/cl.hpp: In function 'cl_int cl::UnloadCompiler()':
/usr/include/CL/cl.hpp:1606:12: error: '::clUnloadCompiler' has not been
declared
/usr/include/CL/cl.hpp: In constructor 'cl::Image2D::Image2D(const
cl::Context&, cl_mem_flags, cl::ImageFormat, size_t, size_t, size_t,
void*, cl_int*)':
/usr/include/CL/cl.hpp:2365:19: error: '::clCreateImage2D' has not been
declared
/usr/include/CL/cl.hpp: In constructor 'cl::Image2DGL::Image2DGL(const
cl::Context&, cl_mem_flags, GLenum, GLint, GLuint, cl_int*)':
/usr/include/CL/cl.hpp:2410:19: error: '::clCreateFromGLTexture2D' has
not been declared
/usr/include/CL/cl.hpp: In constructor 'cl::Image3D::Image3D(const
cl::Context&, cl_mem_flags, cl::ImageFormat, size_t, size_t, size_t,
size_t, size_t, void*, cl_int*)':
/usr/include/CL/cl.hpp:2464:19: error: '::clCreateImage3D' has not been
declared
/usr/include/CL/cl.hpp: In constructor 'cl::Image3DGL::Image3DGL(const
cl::Context&, cl_mem_flags, GLenum, GLint, GLuint, cl_int*)':
/usr/include/CL/cl.hpp:2510:19: error: '::clCreateFromGLTexture3D' has
not been declared
/usr/include/CL/cl.hpp: In member function 'cl_int
cl::CommandQueue::enqueueMarker(cl::Event*) const':
/usr/include/CL/cl.hpp:3745:13: error: '::clEnqueueMarker' has not been
declared
/usr/include/CL/cl.hpp: In member function 'cl_int
cl::CommandQueue::enqueueWaitForEvents(const std::vector<cl::Event>&)
const':
/usr/include/CL/cl.hpp:3752:13: error: '::clEnqueueWaitForEvents' has
not been declared
/usr/include/CL/cl.hpp: In member function 'cl_int
cl::CommandQueue::enqueueBarrier() const':
/usr/include/CL/cl.hpp:3867:13: error: '::clEnqueueBarrier' has not been
declared




More information about the Pkg-fglrx-devel mailing list