|
Boost Users : |
Subject: Re: [Boost-users] Trouble building boost with Visual Studio 2010 (32 vs 64 bit issue)
From: Edward Diener (eldiener_at_[hidden])
Date: 2016-03-09 15:56:40
On 3/9/2016 11:18 AM, Steven Watanabe wrote:
> AMDG
>
> 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?
>>
They can coexist under Windows using py.exe. In fact, using py.exe, you
can invoke different versions of Python, whether 32 bit or 64 bit.
>
> No idea.
>
> In Christ,
> Steven Watanabe
>
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