|
Boost-Build : |
Subject: [Boost-build] Unable to build Boost Python with 1.44 and msvc-10.0
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-08-26 13:49:58
When building with:
bjam toolset=msvc-10.0 --build-type=complete stage
all libraries build without error except for Boost Python. The error
messages are voluminous for he failure but here are the first few:
msvc.link.dll
bin.v2\libs\python\build\msvc-10.0\debug\threading-multi\boost_pyt
hon-vc100-mt-gd-1_44.dll
Creating library
bin.v2\libs\python\build\msvc-10.0\debug\threading-multi\boo
st_python-vc100-mt-gd-1_44.lib and object
bin.v2\libs\python\build\msvc-10.0\deb
ug\threading-multi\boost_python-vc100-mt-gd-1_44.exp
function.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
numeric.obj : error LNK2019: unresolved external symbol
__imp__PyErr_Format refe
renced in function "void __cdecl boost::python::numeric::`anonymous
namespace'::
throw_load_failure(void)"
(?throw_load_failure@?A0x9d4c757b_at_numeric@python_at_boost
@@YAXXZ)
from_python.obj : error LNK2001: unresolved external symbol
__imp__PyErr_Format
registry.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
class.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
numeric.obj : error LNK2001: unresolved external symbol
__imp__PyExc_ImportError
numeric.obj : error LNK2019: unresolved external symbol
__imp__PyErr_Clear refer
enced in function "bool __cdecl boost::python::numeric::`anonymous
namespace'::l
oad(bool)" (?load@?A0x9d4c757b_at_numeric@python_at_boost@@YA_N_N_at_Z)
class.obj : error LNK2001: unresolved external symbol __imp__PyErr_Clear
function.obj : error LNK2001: unresolved external symbol __imp__PyErr_Clear
object_protocol.obj : error LNK2001: unresolved external symbol
__imp__PyErr_Cle
ar
numeric.obj : error LNK2019: unresolved external symbol
__imp__PyCallable_Check
referenced in function "bool __cdecl boost::python::numeric::`anonymous
namespac
e'::load(bool)" (?load@?A0x9d4c757b_at_numeric@python_at_boost@@YA_N_N_at_Z)
class.obj : error LNK2001: unresolved external symbol
__imp__PyCallable_Check
object_protocol.obj : error LNK2001: unresolved external symbol
__imp__PyObject_
GetAttrString
wrapper.obj : error LNK2001: unresolved external symbol
__imp__PyObject_GetAttrS
tring
Any ideas why Boost Python is not building ? Does Python need to be in
the PATH when building Boost Python ? I have more than one version of
Python installed.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk