|
Boost : |
Subject: Re: [boost] [python] boost 1.44 using python 3.1.2 build problem
From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2010-08-26 22:10:31
Hi Christopher,
Could you work out a patch for this and send it to me?
I don't use Python 3 myself. If your patch doesn't break
my Python 2 builds I'll check it in.
Ralf
----- Original Message ----
From: Christopher Lux <christopherlux_at_[hidden]>
To: boost_at_[hidden]
Sent: Tue, August 17, 2010 2:39:58 AM
Subject: [boost] [python] boost 1.44 using python 3.1.2 build problem
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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk