As I need a build of Python3 compatible with VS2012, I built it from scratch and installed it in a _INSTALL folder, following a tutorial online.
Now, I want to use that Python3 with Boost.Python, so I did this in my use-config.jam:
.\bootstrap.bat --with-python=D:\Tools\Python-3.4.5\_INSTALL --with-python-version=3.4 --python-buildid=3
which failed.
The includes are found properly, but the link is floawed:
LINK : fatal error LNK1104: cannot open file 'python34.lib'
The library is in D:/Tools/Python-3.4.5/_INSTALL/libs, but could not be found according to the log.
Also, something strange:
D:\Tools\boost_1_60_0\tools\build\src\engine>.\bootstrap\jam0 -f build.jam --toolset=vc14 "--toolset-root=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\..\..\VC\ " --with-python=D:\Tools\Python-3.4.5\_INSTALL --with-python-version=3.4 --python-buildid=3
The retrieved toolset is wrong, as explicitely asked for VS2012 aka 11.0 int he user-config.jam and I'm running it from a VS2012 x64 native tools command prompt.
Couldn't find any help online, so the best is to ask the Boost community!
Regards,
Matthieu
--