Boost logo

Boost :

Subject: [boost] [python] still compile error using pyhton 3.x
From: Christopher Lux (christopherlux_at_[hidden])
Date: 2010-11-21 06:51:44


Hi,
since 1.44 boost python does not compile anymore using python 3.x
(after a GSOC project it worked fine with python 3.1). I reported this
after the 1.44 release and i thought someone had fixed it. This is
really sad to see this great library not working anymore.

These are the errors generated:

compile-c-c++ e:\devel\_ext\boost_out_64\out\boost\bin.v2\libs\python\build\msvc-10.0\debug\address-model-64\threading-multi\object\function_doc_signature.obj
function_doc_signature.cpp
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(138)
: error C2039: 'PyInt_FromLong' : is not a member of '`global
namespace''
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(138)
: error C3861: 'PyInt_FromLong': identifier not found
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(138)
: error C2065: 'PyInt_Type' : undeclared identifier
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(138)
: error C2039: 'PyInt_FromLong' : is not a member of '`global
namespace''
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(138)
: error C3861: 'PyInt_FromLong': identifier not found
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(138)
: error C2065: 'PyInt_Type' : undeclared identifier
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(138)
: error C2039: 'PyInt_FromLong' : is not a member of '`global
namespace''
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(138)
: error C3861: 'PyInt_FromLong': identifier not found
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(144)
: error C2039: 'PyInt_FromLong' : is not a member of '`global
namespace''
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(144)
: error C3861: 'PyInt_FromLong': identifier not found
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(144)
: error C2065: 'PyInt_Type' : undeclared identifier
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(144)
: error C2039: 'PyInt_FromLong' : is not a member of '`global
namespace''
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(144)
: error C3861: 'PyInt_FromLong': identifier not found
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(144)
: error C2065: 'PyInt_Type' : undeclared identifier
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(144)
: error C2039: 'PyInt_FromLong' : is not a member of '`global
namespace''
E:\devel\boost_1_45_0\boost/python/converter/builtin_converters.hpp(144)
: error C3861: 'PyInt_FromLong': identifier not found
E:\devel\boost_1_45_0\boost/python/detail/caller.hpp(55) : warning
C4244: 'return' : conversion from 'Py_ssize_t' to 'unsigned int',
possible loss of data
libs\python\src\object\function_doc_signature.cpp(287) : warning
C4244: 'initializing' : conversion from 'boost::python::ssize_t' to
'int', possible loss of data
libs\python\src\object\function_doc_signature.cpp(294) : warning
C4244: '=' : conversion from 'boost::python::ssize_t' to 'int',
possible loss of data
libs\python\src\object\function_doc_signature.cpp(303) : warning
C4244: '=' : conversion from 'boost::python::ssize_t' to 'int',
possible loss of data


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk