Following are the environment:
- Windows 7 Enterprise SP1 64 bit
- Python 2.7.13
- Visual Studio 2015 (v14.0)

Following are the steps to the problem:

(1) I downloaded boost_1_64_0-msvc-14.0-64.exe from Since it is pre-compiled binary, I think there is no need to build Boost.Python manually. Note that it is for 64 bit build in VS2015 if I understand correctly.

(2) Install the pre-compiled binary to C:\local\boost_1_64_0

(3) Follow the Boost.Python's QuickStart here: The source code are the same as shown therein.

(4) Set in VS2015 Property Pages->C/C++->Additional Include Directories: C:\local\boost_1_64_0;C:\Python27\include
Set in VS2015 Property Pages->Linker->Additional Library Directories: C:\local\boost_1_64_0\lib64-msvc-14.0;C:\Python27\libs
Set in VS2015 Property Pages->Linker->Input->Additional Dependencies: boost_python-vc140-mt-1_64.lib;boost_python-vc140-mt-gd-1_64.lib;%(AdditionalDependencies)
Set in VS2015 Property Pages->General->Configuration Type: Dynamic Library (.dll)

(5) Build under x64 configuration and got  errors:
1>Source.obj : error LNK2001: unresolved external symbol __imp_PyString_Type
1>Source.obj : error LNK2001: unresolved external symbol __imp__Py_NoneStruct
1>C:\...\ConsoleApplication1\x64\Release\ConsoleApplication1.dll : fatal error LNK1120: 2 unresolved externals

I have no idea what the matter is. I will greatly appreciate it if you can help me out.