Trouble building boost with Visual Studio 2010 (32 vs 64 bit issue)

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

AMDG On 03/09/2016 07:08 AM, David Aldrich wrote:
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
participants (3)
-
David Aldrich
-
Edward Diener
-
Steven Watanabe