Hi Bill,

sorry for the delay. What you reported is indeed a bug. I relied on a non-
standard member of std::vector<> in some code that was newly added. Should be 
fixed in git. Please test and confirm it's fixed.

Thanks,
Andreas

On Freitag 15 Mai 2009, Bill Punch wrote:
> I installed the CUDA 2.2 drivers yesterday and downloaded both the rc2
> and the latest git version. Compilation dies in the same place, line
> 202, with the error stating there is no member 'data' for options (cast
> to a CUjit_option). In looking at cuda.h, where CUjit_option is defined,
> I do not see a data member, but that was just a quick look. Any ideas
> what is wrong? siteconf.py and full error below.
>
> The error:
> ------------
>
> >python setup.py build
>
> running build
> running build_py
> running build_ext
> building '_driver' extension
> gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing
> -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic
> -O3 -DNDEBUG -Isrc/cpp -I/usr/local/include/boost-1_37
> -I/usr/local/cuda/include
> -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pack
>ages/numpy/core/include
> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
> src/wrapper/wrap_cudadrv.cpp -o
> build/temp.macosx-10.3-i386-2.5/src/wrapper/wrap_cudadrv.o -arch i386
> src/wrapper/wrap_cudadrv.cpp: In function
> ‘cuda::module*<unnamed>::module_from_buffer(boost::python::api::object,
> boost::python::api::object, boost::python::api::object)’:
> src/wrapper/wrap_cudadrv.cpp:202: error: ‘class
> std::vector<CUjit_option, std::allocator<CUjit_option> >’ has no member
> named ‘data’
> src/wrapper/wrap_cudadrv.cpp:203: error: ‘class std::vector<void*,
> std::allocator<void*> >’ has no member named ‘data’
> error: command 'gcc' failed with exit status 1
>
> siteconf.py
> -------------
> BOOST_INC_DIR = ['/usr/local/include/boost-1_37']
> BOOST_LIB_DIR = ['/usr/local/lib']
> BOOST_COMPILER = 'gcc43'
> BOOST_PYTHON_LIBNAME = ['boost_python-xgcc40-mt-1_37']
> BOOST_THREAD_LIBNAME = ['boost_thread-xgcc40-mt']
> CUDA_TRACE = False
> CUDA_ENABLE_GL = False
> CUDADRV_LIB_DIR = ['/usr/local/cuda/lib']
> CUDADRV_LIBNAME = ['cuda']
> CUDA_ROOT = '/usr/local/cuda'
> CXXFLAGS = ['-arch', 'i386']
> LDFLAGS = ['-arch', 'i386']


Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to