I am running a 64bit core i7 with an ATI 5800 series video card.
I have successfully installed pyrit, the latest ATI drivers, and AMD-APP-SDK (tested the samples and they pass).
I am now trying to install Cpyrit-OpenCL to make use of my ATI card.
When I go to build setup.py this is what I get:
The headers required to build the OpenCL-kernel were not found. Trying to continue anyway...
svn: '.' is not a working copy
building 'cpyrit._cpyrit_opencl' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c _cpyrit_opencl.c -o build/temp.linux-x86_64-2.6/_cpyrit_opencl.o -DVERSION="0.3.0"
_cpyrit_opencl.c:23:19: error: CL/cl.h: No such file or directory
_cpyrit_opencl.c:46: error: expected specifier-qualifier-list before ‘cl_device_id’
_cpyrit_opencl.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_cpyrit_opencl.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘num_platforms’
_cpyrit_opencl.c:63: error: expected ‘)’ before ‘error’
_cpyrit_opencl.c: In function ‘oclplatf_init’:
_cpyrit_opencl.c:122: error: ‘cl_uint’ undeclared (first use in this function)
_cpyrit_opencl.c:122: error: (Each undeclared identifier is reported only once
_cpyrit_opencl.c:122: error: for each function it appears in.)
_cpyrit_opencl.c:122: error: expected ‘;’ before ‘num_devices’
_cpyrit_opencl.c:123: error: ‘cl_int’ undeclared (first use in this function)
_cpyrit_opencl.c:123: error: expected ‘;’ before ‘err’
_cpyrit_opencl.c:130: error: ‘num_platforms’ undeclared (first use in this function)
..... many more similar errors
I fear that although working, I may have installed either my ati drivers or the ATI APP wrong, or in the wrong place.
I admit I am probably testing my limits since I am fairly new to linux.
I've searched and the only thing that seemed to relate to my problem was someone saying that GCC was a different version than the ATI driver used, but that didn't really make sense to me. Any ideas? If more info is needed let me know and I will gladly provide it. Thanks in advance.