[Boost-bugs] [Boost C++ Libraries] #4607: 32-bits target build errors with MSVC under Windows x64

Subject: [Boost-bugs] [Boost C++ Libraries] #4607: 32-bits target build errors with MSVC under Windows x64
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-29 00:31:38


#4607: 32-bits target build errors with MSVC under Windows x64
------------------------------+---------------------------------------------
 Reporter: ktchan | Owner: dave
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost 1.44.0 | Severity: Showstopper
 Keywords: |
------------------------------+---------------------------------------------
 Attempts to build 32-bits target libraries/dll of Boost.Python with MSVC
 running under Windows 7 x64 ends with errors. The 6 *.lib & *.dll of the
 form boost_python-vc*-mt* are not built.

 No problems is experienced if MSVC is running under 32-bits version of
 Windows (XP Pro SP3 & 7 Ultimate tested), or the target is 64-bits
 libraries even when running under Win7 x64.

 The below errors was produced with Windows 7 Ultimate x64, Visual Studio
 (2008 Pro & 2010 Ultimate tested), and ActiveState ActivePython (2.6 & 2.7
 tested).

 msvc.link.dll x86\boost\bin.v2\libs\python\build\msvc-10.0\debug
 \threading-multi\boost_python-vc100-mt-gd-1_44.dll
    Creating library x86\boost\bin.v2\libs\python\build\msvc-10.0\debug
 \threading-multi\boost_python-vc100-mt-gd-1_44.lib and object
 x86\boost\bin.v2\libs\python\build\msvc-10.0\debug\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 referenced in function "void __cdecl
 boost::python::numeric::`anonymous namespace'::throw_load_failure(void)"
 (?throw_load_failure@?A0x9a30ad83_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
 referenced in function "bool __cdecl boost::python::numeric::`anonymous
 namespace'::load(bool)"
 (?load@?A0x9a30ad83_at_numeric@python_at_boost@@YA_N_N_at_Z)
 class.obj : error LNK2001: unresolved external symbol __imp__PyErr_Clear
 <snip>

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4607>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC