After you open the cmd shell, just change the PATH for that cmd shell and then
run the build.
From: Cplusplus-sig
[mailto:cplusplus-sig-bounces+herron=ellington@python.org] On Behalf Of
David Aldrich
Sent: Wednesday, March 09, 2016 11:59 AM
To: Development of Python/C++ integration
Subject:
Ok, thanks. The console defaults to 3.5, which is the problem.
I'll see what I can do.
From: Cplusplus-sig
[mailto:cplusplus-sig-bounces+david.aldrich=emea.nec@python.org] On Behalf
Of Liam Herron
Sent: 09 March 2016 16:52
To: Development of Python/C++ integration
Subject: Re: [C++-sig] Tr
I believe if you don't specify a python directly in the config files, it will
simply use whatever python it picks up with the "python" cmd. When you open a
cmd shell and simply type "python", which version does it run? If you get this
to be your 32-bit version, I think it will work. Else, you
Hi Liam
I have Python 2.7 (32-bit) and Python 3.4 (64-bit) installed on my Win 10
system. As you suggested I opened a VS2010 command prompt (I believe 32-bit),
executed bootstrap and then:
b2 toolset=msvc-10.0 --with-python link=shared
I still see this error:
msvc.link.dll
bin.v2\libs\python
> Just a quick guess: is it possible that your "libpython34.dll" file is a
> 64-bit
> binary, when the command really requires it to be a 32-bit binary ?
>
> I'm unfortunately unable to answer your question, as the question seems more
> about the build system than Boost.Python itself.
> Therefore
You should open a cmd shell tool that comes with VS :
e.g. "VS2010 x86 Native Tools Command Prompt"
or "VS2010 x64 Native Tools Command Prompt"
And then in this shell, run your:
b2 toolset=msvc-10.0 --with-python link=shared
It looks like your python version is 64-bit python (Is that
Hi David,
On 09.03.2016 05:04, David Aldrich wrote:
>
> 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
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