Boost logo

Boost Users :

Subject: Re: [Boost-users] Trouble building boost with Visual Studio 2010 (32 vs 64 bit issue)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-03-09 11:18:43


On 03/09/2016 07:08 AM, David Aldrich wrote:
> 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?

  If you want a 32-bit build of Boost.Python, then
I would certainly think so.

> I wonder if that can co-exist with the current version of Python?

No idea.

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at