Boost logo

Boost Users :

Subject: [Boost-users] Trouble building boost with Visual Studio 2010 (32 vs 64 bit issue)
From: David Aldrich (David.Aldrich_at_[hidden])
Date: 2016-03-09 09:08:13


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net