Dnia 2014-02-13, czw o godzinie 21:39 +0100, Jerome Kieffer pisze: > I am answering myself ... > > I downgraded the OpenCL headers to 1.1 and installed the nvidia libopencl1 > library which is limited to v1.1. > > But now I am no more able to compile pyopencl which fails at the link time > with: > gcc -pthread -fno-strict-aliasing -fwrapv -Wall -DNDEBUG -fPIC > -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 > -DPYOPENCL_PRETEND_CL_VERSION=4112 -DPYOPENCL_USE_DEVICE_FISSION=1 > -DHAVE_GL=1 -I/usr/lib/pymodules/python2.7/numpy/core/include > -I/usr/include/python2.7 -c src/wrapper/bitlog.cpp -o > build/temp.linux-x86_64-2.7/src/wrapper/bitlog.o > g++ -pthread -shared -Wl,-Bsymbolic-functions -Wl,-z,relro > build/temp.linux-x86_64-2.7/src/wrapper/wrap_cl.o > build/temp.linux-x86_64-2.7/src/wrapper/wrap_cl_part_1.o > build/temp.linux-x86_64-2.7/src/wrapper/wrap_cl_part_2.o > build/temp.linux-x86_64-2.7/src/wrapper/wrap_constants.o > build/temp.linux-x86_64-2.7/src/wrapper/wrap_mempool.o > build/temp.linux-x86_64-2.7/src/wrapper/bitlog.o -lboost_python-py27 -lOpenCL > -o build/lib.linux-x86_64-2.7/pyopencl/_cl.so > /usr/bin/ld: cannot find -lOpenCL > collect2: error: ld returned 1 exit status > error: command 'g++' failed with exit status 1 >
This might be stupid question, but have you installed nvidia-opencl-dev, or only nvidia-libopencl1 when compiling PyOpenCL with NVIDIA library? -- Tomasz Rybak GPG/PGP key ID: 2AD5 9860 Fingerprint A481 824E 7DD3 9C0E C40A 488E C654 FB33 2AD5 9860 http://member.acm.org/~tomaszrybak
signature.asc
Description: This is a digitally signed message part
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
