Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-10 Thread David Aldrich
hon/C++ integration Subject: Re: [C++-sig] Trouble building boost with Visual Studio 2010 Unfortunately, I don't have python3 installed on my computer so I never had to deal with this. My only suggestion is to hack the "libs/python/build/Jamfile.v2" file to get it to work. Sorry I c

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-10 Thread Liam Herron
s-sig-bounces+herron=ellington@python.org] On Behalf Of David Aldrich Sent: Thursday, March 10, 2016 7:21 AM To: Development of Python/C++ integration Subject: Re: [C++-sig] Trouble building boost with Visual Studio 2010 Thanks for your reply. I have set my path to start with Python 2.7: PATH=c:

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-10 Thread David Aldrich
arch 2016 17:03 To: Development of Python/C++ integration Subject: Re: [C++-sig] Trouble building boost with Visual Studio 2010 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

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-09 Thread Liam Herron
: Re: [C++-sig] Trouble building boost with Visual Studio 2010 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:

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-09 Thread David Aldrich
t: Wednesday, March 09, 2016 11:35 AM To: Development of Python/C++ integration Subject: Re: [C++-sig] Trouble building boost with Visual Studio 2010 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

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-09 Thread Liam Herron
velopment of Python/C++ integration Subject: Re: [C++-sig] Trouble building boost with Visual Studio 2010 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 t

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-09 Thread David Aldrich
this just depends on the path order? David From: Cplusplus-sig [mailto:cplusplus-sig-bounces+david.aldrich=emea.nec@python.org] On Behalf Of Liam Herron Sent: 09 March 2016 14:40 To: Development of Python/C++ integration Subject: Re: [C++-sig] Trouble building boost with Visual Studio 2010 Y

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-09 Thread David Aldrich
> 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

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-09 Thread Liam Herron
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

Re: [C++-sig] Trouble building boost with Visual Studio 2010

2016-03-09 Thread Stefan Seefeld
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