Hello, I've been trying to get pycuda to install and keep running into the
same compilatinon problem:

src/wrapper/wrap_cudadrv.cpp:8:41: error: boost/python/stl_iterator.hpp: No
such file or directory
src/wrapper/wrap_cudadrv.cpp: In function
'boost::python::handle<_object><unnamed>::pagelocked_empty(boost::python::api::object,
boost::python::api::object, boost::python::api::object)':

It seems from the output that pycuda is looking for a boost header file
which I can't seem to locate. Am I doing something wrong with my boost
installation, or does the problem lie elsewhere?  I've double-checked all of
my include and library paths and they are correct. I've also made sure to
pass all the appropriate paths to the pycuda configure script.  Full output
of the build process (both the ./configure -> make and python setup.py build
processes give the same output) is included below.  Can anybody give me some
ideas please?

[EMAIL PROTECTED]:~/pycuda> python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.5
creating build/lib.linux-x86_64-2.5/pycuda
copying src/python/__init__.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/_kernel.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/autoinit.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/cumath.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/curandom.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/driver.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/gpuarray.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/rt.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/tools.py -> build/lib.linux-x86_64-2.5/pycuda
copying src/python/vector_expr.py -> build/lib.linux-x86_64-2.5/pycuda
running build_ext
building '_driver' extension
creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/src
creating build/temp.linux-x86_64-2.5/src/cpp
creating build/temp.linux-x86_64-2.5/src/wrapper
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -O3 -DNDEBUG -fPIC -Isrc/cpp
-I~/pool/include -I/usr/local/cuda/include
-I/usr/local/lib64/python2.5/site-packages/numpy/core/include
-I/usr/include/python2.5 -c src/cpp/cuda.cpp -o
build/temp.linux-x86_64-2.5/src/cpp/cuda.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -O3 -DNDEBUG -fPIC -Isrc/cpp
-I~/pool/include -I/usr/local/cuda/include
-I/usr/local/lib64/python2.5/site-packages/numpy/core/include
-I/usr/include/python2.5 -c src/wrapper/wrap_cudadrv.cpp -o
build/temp.linux-x86_64-2.5/src/wrapper/wrap_cudadrv.o
src/wrapper/wrap_cudadrv.cpp:8:41: error: boost/python/stl_iterator.hpp: No
such file or directory
src/wrapper/wrap_cudadrv.cpp: In function
'boost::python::handle<_object><unnamed>::pagelocked_empty(boost::python::api::object,
boost::python::api::object, boost::python::api::object)':
src/wrapper/wrap_cudadrv.cpp:152: error: 'stl_input_iterator' is not a
member of 'cuda::py'
src/wrapper/wrap_cudadrv.cpp:152: error: expected primary-expression before
'>' token
src/wrapper/wrap_cudadrv.cpp:153: error: 'stl_input_iterator' is not a
member of 'cuda::py'
src/wrapper/wrap_cudadrv.cpp:153: error: expected primary-expression before
'>' token
src/wrapper/wrap_cudadrv.cpp:153: error: expected primary-expression before
')' token
src/wrapper/wrap_cudadrv.cpp: In function 'void init_module__driver()':
src/wrapper/wrap_cudadrv.cpp:270: warning: deprecated conversion from string
constant to 'char*'
src/wrapper/wrap_cudadrv.cpp:274: warning: deprecated conversion from string
constant to 'char*'
src/wrapper/wrap_cudadrv.cpp:275: warning: deprecated conversion from string
constant to 'char*'
src/wrapper/wrap_cudadrv.cpp:276: warning: deprecated conversion from string
constant to 'char*'
src/wrapper/wrap_cudadrv.cpp:277: warning: deprecated conversion from string
constant to 'char*'
error: command 'gcc' failed with exit status 1



Brad Zima
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to