Boost logo

Boost :

Subject: [boost] [python] boost 1.44 using python 3.1.2 build problem
From: Christopher Lux (christopherlux_at_[hidden])
Date: 2010-08-17 05:39:58


Hi,
i am under the impression boost.python supported python 3 for a while
now. But trying to compile it using python 3.1.2 gives me the old
errors:

.\boost/python/converter/builtin_converters.hpp(138) : error C2039:
'PyInt_FromLong' : is not a member of '`global namespace''
.\boost/python/converter/builtin_converters.hpp(138) : error C3861:
'PyInt_FromLong': identifier not found
.\boost/python/converter/builtin_converters.hpp(138) : error C2065:
'PyInt_Type' : undeclared identifier
.\boost/python/converter/builtin_converters.hpp(138) : error C2039:
'PyInt_FromLong' : is not a member of '`global namespace''
.\boost/python/converter/builtin_converters.hpp(138) : error C3861:
'PyInt_FromLong': identifier not found
.\boost/python/converter/builtin_converters.hpp(138) : error C2065:
'PyInt_Type' : undeclared identifier
.\boost/python/converter/builtin_converters.hpp(138) : error C2039:
'PyInt_FromLong' : is not a member of '`global namespace''
.\boost/python/converter/builtin_converters.hpp(138) : error C3861:
'PyInt_FromLong': identifier not found
.\boost/python/converter/builtin_converters.hpp(144) : error C2039:
'PyInt_FromLong' : is not a member of '`global namespace''
.\boost/python/converter/builtin_converters.hpp(144) : error C3861:
'PyInt_FromLong': identifier not found
.\boost/python/converter/builtin_converters.hpp(144) : error C2065:
'PyInt_Type' : undeclared identifier
.\boost/python/converter/builtin_converters.hpp(144) : error C2039:
'PyInt_FromLong' : is not a member of '`global namespace''
.\boost/python/converter/builtin_converters.hpp(144) : error C3861:
'PyInt_FromLong': identifier not found
.\boost/python/converter/builtin_converters.hpp(144) : error C2065:
'PyInt_Type' : undeclared identifier
.\boost/python/converter/builtin_converters.hpp(144) : error C2039:
'PyInt_FromLong' : is not a member of '`global namespace''
.\boost/python/converter/builtin_converters.hpp(144) : error C3861:
'PyInt_FromLong': identifier not found

my user-config.jam:

using python
    : 3.1
    : "C:\\Program Files\\python31\\python"
    : "C:\\Program Files\\python31\\include"
    : "C:\\Program Files\\python31\\libs"
    : #condition
    : #ext suffix
    ;

Regards
-chris


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