[C++-sig] Trouble building boost with Visual Studio 2010

David Aldrich David.Aldrich at EMEA.NEC.COM
Wed Mar 9 05:04:48 EST 2016


Hi

I am trying to build Boost 1.60 with Visual Studio 2010 Professional on Windows 10.

I use the command:

b2 toolset=msvc-10.0 --with-python link=shared

and get the following error:

python34.lib(python34.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

I guess this means I have a conflict of 32-bit and 64-bit libraries.  I want to target 32-bit (X86).

Do I need to install a 32-bit version of Python?  I wonder if that can co-exist with the current version of Python?

Best regards

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20160309/6b23dce8/attachment.html>


More information about the Cplusplus-sig mailing list