Hi Franco,
Looks like you're missing the opencl headers:
http://wiki.tiker.net/OpenCLHowTo
Andreas
Am 22. März 2015 19:54:15 GMT-05:00, schrieb Franco Nicolas Bellomo <fnbellomo(a)gmail.com>:
>Hi. I like to start with PyOpenCl, then I try to install. I have
>installed the requisites (numpy and mako), then I do:
>$ pip install pyopencl
>
>But I have this error:
>
>In file included from src/wrapper/wrap_cl.cpp:1:0:
>
>src/wrapper/wrap_cl.hpp:28:19: fatal error: CL/cl.h: No such file or
>directory
>
> #include <CL/cl.h>
>
> ^
>compilation terminated.
>
>error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
>
>pip.exceptions.InstallationError: Command /usr/bin/python3 -c "import
>setuptools
>;__file__='/tmp/pip_build_root/pyopencl/setup.py';exec(compile(open(__file__).re
>ad().replace('\r\n', '\n'), __file__, 'exec'))" install --record
>/tmp/pip-6owgq_
>-record/install-record.txt --single-version-externally-managed failed
>with error
> code 1 in /tmp/pip_build_root/pyopencl
>
>I run this in LMDE, Python 3.4.3 :: Anaconda 2.1.0 (64-bit) and gcc
>(Debian 4.8.2-1) 4.8.2
>What's I do wrong?
>
>Thanks for your helps!!
>
>_______________________________________________
>PyOpenCL mailing list
>PyOpenCL(a)tiker.net
>http://lists.tiker.net/listinfo/pyopencl
Hi. I like to start with PyOpenCl, then I try to install. I have
installed the requisites (numpy and mako), then I do:
$ pip install pyopencl
But I have this error:
In file included from src/wrapper/wrap_cl.cpp:1:0:
src/wrapper/wrap_cl.hpp:28:19: fatal error: CL/cl.h: No such file or directory
#include <CL/cl.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
pip.exceptions.InstallationError: Command /usr/bin/python3 -c "import setuptools
;__file__='/tmp/pip_build_root/pyopencl/setup.py';exec(compile(open(__file__).re
ad().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6owgq_
-record/install-record.txt --single-version-externally-managed failed with error
code 1 in /tmp/pip_build_root/pyopencl
I run this in LMDE, Python 3.4.3 :: Anaconda 2.1.0 (64-bit) and gcc
(Debian 4.8.2-1) 4.8.2
What's I do wrong?
Thanks for your helps!!