On Montag 22 Dezember 2008, Jean-Christophe Penalva wrote:
>   Hello,
>
>   i try to install Pycuda on a host with python 2.4.
>
>   All is good (boost, numpy), until i fall on a problem during the make of
> pycuda. There's a test on the version of python (for version >= 2.5 ...),
> and that break my compil :
> src/cpp/cuda.hpp: In member function ‘void
> cuda::memcpy_2d::set_src_host(boost::python::api::object)’:
> src/cpp/cuda.hpp:942: error: ‘Py_ssize_t’ was not declared in
> this scope src/cpp/cuda.hpp:942: error: expected `;' before
> ‘len’ src/cpp/cuda.hpp:942: error: ‘len’ was not
> declared in this scope

Hi Jean-Christophe,

I've ifdef'ed out the Py_ssize_t's for Py<2.5 in git. Let me know if that does 
the trick or if further fixes are needed.

Andreas

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