Build boost python 3.4 64 bit

I am trying to execute a tutorial in Boost.python.

My environment is in the title.

When I try to use bjam, I get the following error:

C: \ Local \ boost_1_57_0 \ LIES \ python \ for example \ training> bjam.exe model address = 64 ... patience ...... patience ...... found 1894 targets ...... update 6 goals ... msvc.link.dll bin \ MSVC-12.0 \ Debug \ address model-64 \ streaming multimillionaire \ hello_ext.pyd

Creating the bin \ msvc-12.0 \ debug \ address-model-64 \ threading-multi \ hello_e xt.pdb library and the bin \ msvc-12.0 \ debug \ address-model-64 \ threading-multi \ hello_ext.exp LINK library: fatal error LNK1207: incompatible PDB format in "C: \ Local \ boost_1_57_0 \ Li ss \ Python \ Example \ tutorial \ Bin \ MSVC-12.0 \ debug \ address-model-64 \ thread-cutting multi \ hello_ext.pdb '; delete and restore

call "C:\Users\Navid\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86_amd64 

.cmd "> nul link / NOLOGO / INCREMENTAL: NO / DLL / NOENTRY / DEBUG / MACHINE: X64 / MANIFEST / subsys tem: console / out:" bin \ msvc-12.0 \ debug \ address-model-64 \ threading-multi \ hello_ext.pyd "/ IMPLIB:" bin \ msvc-12.0 \ debug \ address-model-64 \ threading-multi \ hello_ext.pd b "/ LIBPATH:" C: \ Python34 \ libs "
@ "Ben \ MSVC-12.0 \ Debug \ address model-64 \ threadin g-multi \ hello_ext.pyd.rsp" if% ERRORLEVEL% NEQ 0 EXIT% ERRORLEVEL%

... msvc.link.dll bin \ msvc-12.0 \ debug \ address-model-64 \ threading-multi \ hel lo_ext.pyd bin \ msvc-12.0 \ debug \ address-model-64 \ threading-multi \ failed hello_ext.pdb bi n \ MSVC-12.0 \ Debug \ address model-64 \ streaming multimillionaire \ hello_ext.pdb ...... delete bin \ MSVC-12.0 \ Debug \ address model-64 \ thread-cutting multi \ hello_ext.pdb ... missed hello_ext.pyd due to lack of hello_ext.pyd ... copy of bin \ hello.test \ MSVC-12.0 \ Debug \ address model-64 \ threading multi \ hello.py hello .py 1 file copied. 2to3 bin \ hello.test \ msvc-12.0 \ debug \ address-model-64 \ threading-multi \ hello.py '2to3' is not recognized as an internal or external command, a valid program or batch file. "2to3" is not recognized as internal or external command, operating program or batch file.

 2to3 -wn --no-diffs "bin\hello.test\msvc-12.0\debug\address-model-64\threadi 

ng-multi \ hello.py "2to3 -dwn --no-diffs" bin \ hello.test \ msvc-12.0 \ debug \ address-model-64 \ thread ING-multi \ hello.py "

... failed 2to3 bin \ hello.test \ MSVC-12.0 \ Debug \ address model-64 \ thread-cutting multi \ h ello.py ...... deleting bin \ hello.test \ MSVC-12, 0 \ Debug \ address model-64 \ thread-cutting multi \ hell o.py ... missing a high-energy laser due to the lack of

hello.py ...... failed to update 3 goals ...... missed 3 goals ...

I made sure. \ b2 adress-model = 64 and \ turorial> bjam address-model = 64

User-config is also configured for


MSVC configuration.

using msvc: 12.0;


Python configuration.

Customize a specific version of Python. using python: 3.4: C: \ python34: C: \ Python34 \ include: C: \ Python34 \ libs;

+6
source share
1 answer

I want to talk about how to fix "2to3" is not recognized as an internal or external command, operating program or batch file. This means that 2to3 is not in your way. To add it to your path, follow the Python 2to3 windows CMD . Follow the last but one answer

-1
source

Source: https://habr.com/ru/post/984279/


All Articles