[C++-sig] Building Boost Python Tutorial Linker Errors

Joey Ortiz orangesherbet0 at gmail.com
Tue Mar 22 12:51:29 EDT 2016


Hello,

I have spent the past week trying to build the boost python tutorial, only
to be stopped by numerous linker errors.

I have posted my question on
http://stackoverflow.com/questions/36143494/linker-errors-running-bjam-on-boost-python-tutorial

My system runs Windows 10, Visual Studio 2015 (msvc 14.0), Anaconda 32bit,
Anaconda 64bit, and regular default-installed Python 2.7, and the Boost
1.60.0 libraries (I have tried both 32-bit and 64-bit builds).

I first build my Boost libraries in either 32-bit (bootstrap, b2) or 64-bit
(bootstrap, b2 address-model=64), using the instructions at
http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html

I then follow the most recent boost.python tutorial at
http://www.boost.org/doc/libs/1_60_0/libs/python/doc/html/tutorial/tutorial/hello.html
(which
by the way needs serious work).

I have tried combinations of the following build instructions and msvc /
python settings.


bjam
bjam address-model=64
bjam address-model=64 architecture=x86


using msvc : 14.0 ;
using msvc : 14.0 : "C:/Program Files (x86)/Microsoft Visual Studio
14.0/VC/bin" ;
using msvc ;

using python ;
using python : 2.7 ;
using python : 2.7 : C:/Users/Joey/Anaconda2 ;

using python : 2.7 : "C:/Users/Joey/Anaconda2 (32-bit)" ;

using python
    : 2.7                   # Version
    : C:\\Users\\Joey\\Anaconda2\\python.exe      # Python Path
    : C:\\Users\\Joey\\Anaconda2\\include         # include path
    : C:\\Users\\Joey\\Anaconda2\\libs            # lib path(s)
    : <define>BOOST_ALL_NO_LIB=1
    ;


In any setting, when I run "bjam" I get the following output:

   Performing configuration checks

        - 32-bit                   : yes (cached)
        - arm                      : no  (cached)
        - mips1                    : no  (cached)
        - power                    : no  (cached)
        - sparc                    : no  (cached)
        - x86                      : yes (cached)
    ...found 7 targets...
        - symlinks supported       : yes
    ...found 1 target...
    ...updating 1 target...
    config-cache.write bin\project-cache.jam
    ...updated 1 target...
    ...patience...
    ...patience...
    ...found 1917 targets...
    ...updating 9 targets...
    msvc.link.dll
..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.dll
       Creating library
..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.lib
and object ..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.exp
    object_protocol.obj : error LNK2001: unresolved external symbol
__imp__PyObject_GetAttrString
    wrapper.obj : error LNK2001: unresolved external symbol
__imp__PyObject_GetAttrString
    numeric.obj : error LNK2001: unresolved external symbol
__imp__PyObject_GetAttrString
    enum.obj : error LNK2001: unresolved external symbol
__imp__PyObject_GetAttrString
    class.obj : error LNK2001: unresolved external symbol
__imp__PyObject_GetAttrString
    function.obj : error LNK2001: unresolved external symbol
__imp__PyObject_GetAttrString
    numeric.obj : error LNK2019: unresolved external symbol
__imp__PyCallable_Check referenced in function "bool __cdecl
boost::python::numeric::`anonymous namespace'::load(bool)"
(?load@?A0xc5ed2080 at numeric@python at boost@@YA_N_N at Z)
    class.obj : error LNK2001: unresolved external symbol
__imp__PyCallable_Check
    function.obj : error LNK2001: unresolved external symbol
__imp__PyInt_FromLong
    function_doc_signature.obj : error LNK2001: unresolved external
symbol __imp__PyInt_FromLong
    numeric.obj : error LNK2001: unresolved external symbol
__imp__PyInt_FromLong
    list.obj : error LNK2001: unresolved external symbol __imp__PyInt_FromLong
    enum.obj : error LNK2001: unresolved external symbol __imp__PyInt_FromLong
    class.obj : error LNK2001: unresolved external symbol __imp__PyInt_FromLong
    numeric.obj : error LNK2019: unresolved external symbol
__imp__PyBool_FromLong referenced in function "public: __thiscall
boost::python::converter::arg_to_python<bool>::arg_to_python<bool>(bool
const &)" (??0?$arg_to_python at _N@converter at python@boost@@QAE at AB_N@Z)
    class.obj : error LNK2001: unresolved external symbol __imp__PyBool_FromLong
    numeric.obj : error LNK2019: unresolved external symbol
__imp__PyString_FromStringAndSize referenced in function "public:
__thiscall boost::python::converter::arg_to_python<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > >::arg_to_python<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > >(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(??0?$arg_to_python at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@converter at python@boost@@QAE at ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
    str.obj : error LNK2001: unresolved external symbol
__imp__PyString_FromStringAndSize
    builtin_converters.obj : error LNK2001: unresolved external symbol
__imp__PyString_FromStringAndSize
    function_doc_signature.obj : error LNK2001: unresolved external
symbol __imp__PyString_FromStringAndSize
    numeric.obj : error LNK2019: unresolved external symbol
__imp__PyErr_Clear referenced in function "bool __cdecl
boost::python::numeric::`anonymous namespace'::load(bool)"
(?load@?A0xc5ed2080 at numeric@python at boost@@YA_N_N at Z)
    class.obj : error LNK2001: unresolved external symbol __imp__PyErr_Clear
    function.obj : error LNK2001: unresolved external symbol __imp__PyErr_Clear
    object_protocol.obj : error LNK2001: unresolved external symbol
__imp__PyErr_Clear
    function.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
    numeric.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
    from_python.obj : error LNK2001: unresolved external symbol
__imp__PyErr_Format
    registry.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
    class.obj : error LNK2001: unresolved external symbol __imp__PyErr_Format
    enum.obj : error LNK2001: unresolved external symbol
__imp__PyEval_CallFunction
    class.obj : error LNK2001: unresolved external symbol
__imp__PyEval_CallFunction
    pickle_support.obj : error LNK2001: unresolved external symbol
__imp__PyEval_CallFunction
    stl_iterator.obj : error LNK2001: unresolved external symbol
__imp__PyEval_CallFunction
    numeric.obj : error LNK2001: unresolved external symbol
__imp__PyEval_CallFunction
    list.obj : error LNK2001: unresolved external symbol
__imp__PyEval_CallFunction
    dict.obj : error LNK2001: unresolved external symbol
__imp__PyEval_CallFunction
    str.obj : error LNK2001: unresolved external symbol
__imp__PyEval_CallFunction
    numeric.obj : error LNK2019: unresolved external symbol
__imp__PyImport_Import referenced in function "bool __cdecl
boost::python::numeric::`anonymous namespace'::load(bool)"
(?load@?A0xc5ed2080 at numeric@python at boost@@YA_N_N at Z)
    numeric.obj : error LNK2019: unresolved external symbol
__imp__PyObject_IsInstance referenced in function "public: static bool
__cdecl boost::python::numeric::aux::array_object_manager_traits::check(struct
_object *)" (?check at array_object_manager_traits@aux at numeric@python at boost@@SA_NPAU_object@@@Z)
    from_python.obj : error LNK2001: unresolved external symbol
__imp__PyObject_IsInstance
    class.obj : error LNK2001: unresolved external symbol
__imp__PyObject_IsInstance
    wrapper.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    import.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    exec.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    function_doc_signature.obj : error LNK2001: unresolved external
symbol __imp___Py_NoneStruct
    iterator.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    stl_iterator.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    object_protocol.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    object_operators.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    life_support.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    pickle_support.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    module.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    builtin_converters.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    registry.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    enum.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    class.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    function.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    tuple.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    str.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    slice.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    from_python.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    numeric.obj : error LNK2001: unresolved external symbol
__imp___Py_NoneStruct
    list.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    long.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    dict.obj : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
    numeric.obj : error LNK2001: unresolved external symbol
__imp__PyExc_ImportError
    list.obj : error LNK2019: unresolved external symbol
__imp__PyInt_AsLong referenced in function "public: int __thiscall
boost::python::detail::list_base::count(class
boost::python::api::object const &)const "
(?count at list_base@detail at python@boost@@QBEHABVobject at api@34@@Z)
    str.obj : error LNK2001: unresolved external symbol __imp__PyInt_AsLong
    class.obj : error LNK2001: unresolved external symbol __imp__PyInt_AsLong
    builtin_converters.obj : error LNK2001: unresolved external symbol
__imp__PyInt_AsLong
    list.obj : error LNK2019: unresolved external symbol
__imp__PyList_New referenced in function "protected: __thiscall
boost::python::detail::list_base::list_base(void)"
(??0list_base at detail@python at boost@@IAE at XZ)
    list.obj : error LNK2019: unresolved external symbol
__imp__PyList_Insert referenced in function "public: void __thiscall
boost::python::detail::list_base::insert(int,class
boost::python::api::object const &)"
(?insert at list_base@detail at python@boost@@QAEXHABVobject at api@34@@Z)
    list.obj : error LNK2019: unresolved external symbol
__imp__PyList_Append referenced in function "public: void __thiscall
....
....(too many to put here)
....
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Add referenced in function "class
boost::python::api::object __cdecl boost::python::api::operator+(class
boost::python::api::object const &,class boost::python::api::object
const &)" (??Hapi at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Subtract referenced in function "class
boost::python::api::object __cdecl boost::python::api::operator-(class
boost::python::api::object const &,class boost::python::api::object
const &)" (??Gapi at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Multiply referenced in function "class
boost::python::api::object __cdecl boost::python::api::operator*(class
boost::python::api::object const &,class boost::python::api::object
const &)" (??Dapi at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Divide referenced in function "class
boost::python::api::object __cdecl boost::python::api::operator/(class
boost::python::api::object const &,class boost::python::api::object
const &)" (??Kapi at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Remainder referenced in function "class
boost::python::api::object __cdecl boost::python::api::operator%(class
boost::python::api::object const &,class boost::python::api::object
const &)" (??Lapi at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Lshift referenced in function "class
boost::python::api::object __cdecl
boost::python::api::operator<<(class boost::python::api::object const
&,class boost::python::api::object const &)"
(??6api at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Rshift referenced in function "class
boost::python::api::object __cdecl
boost::python::api::operator>>(class boost::python::api::object const
&,class boost::python::api::object const &)"
(??5api at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_And referenced in function "class
boost::python::api::object __cdecl boost::python::api::operator&(class
boost::python::api::object const &,class boost::python::api::object
const &)" (??Iapi at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Xor referenced in function "class
boost::python::api::object __cdecl boost::python::api::operator^(class
boost::python::api::object const &,class boost::python::api::object
const &)" (??Tapi at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_Or referenced in function "class
boost::python::api::object __cdecl boost::python::api::operator|(class
boost::python::api::object const &,class boost::python::api::object
const &)" (??Uapi at python@boost@@YA?AVobject at 012@ABV3012 at 0@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceAdd referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator+=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??Yapi at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceSubtract referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator-=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??Zapi at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceMultiply referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator*=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??Xapi at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceDivide referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator/=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??_0api at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceRemainder referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator%=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??_1api at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceLshift referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator<<=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??_3api at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceRshift referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator>>=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??_2api at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceAnd referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator&=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??_4api at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceXor referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator^=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??_6api at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    object_operators.obj : error LNK2019: unresolved external symbol
__imp__PyNumber_InPlaceOr referenced in function "class
boost::python::api::object & __cdecl
boost::python::api::operator|=(class boost::python::api::object
&,class boost::python::api::object const &)"
(??_5api at python@boost@@YAAAVobject at 012@AAV3012 at ABV3012@@Z)
    wrapper.obj : error LNK2019: unresolved external symbol
__imp__PyDict_GetItemString referenced in function "protected: class
boost::python::override __thiscall
boost::python::detail::wrapper_base::get_override(char const *,struct
_typeobject *)const "
(?get_override at wrapper_base@detail at python@boost@@IBE?AVoverride at 34@PBDPAU_typeobject@@@Z)
    wrapper.obj : error LNK2001: unresolved external symbol __imp__PyMethod_Type
    import.obj : error LNK2019: unresolved external symbol
__imp__PyImport_ImportModule referenced in function "class
boost::python::api::object __cdecl boost::python::import(class
boost::python::str)"
(?import at python@boost@@YA?AVobject at api@12 at Vstr@12@@Z)
    exec.obj : error LNK2019: unresolved external symbol
__imp__PyFile_FromString referenced in function "class
boost::python::api::object __cdecl boost::python::exec_file(class
boost::python::str,class boost::python::api::object,class
boost::python::api::object)"
(?exec_file at python@boost@@YA?AVobject at api@12 at Vstr@12 at V3412@1 at Z)
    exec.obj : error LNK2019: unresolved external symbol
__imp__PyFile_AsFile referenced in function "class
boost::python::api::object __cdecl boost::python::exec_file(class
boost::python::str,class boost::python::api::object,class
boost::python::api::object)"
(?exec_file at python@boost@@YA?AVobject at api@12 at Vstr@12 at V3412@1 at Z)
    exec.obj : error LNK2019: unresolved external symbol
__imp__PyRun_StringFlags referenced in function "class
boost::python::api::object __cdecl boost::python::eval(class
boost::python::str,class boost::python::api::object,class
boost::python::api::object)"
(?eval at python@boost@@YA?AVobject at api@12 at Vstr@12 at V3412@1 at Z)
    exec.obj : error LNK2019: unresolved external symbol
__imp__PyRun_FileExFlags referenced in function "class
boost::python::api::object __cdecl boost::python::exec_file(class
boost::python::str,class boost::python::api::object,class
boost::python::api::object)"
(?exec_file at python@boost@@YA?AVobject at api@12 at Vstr@12 at V3412@1 at Z)
    exec.obj : error LNK2019: unresolved external symbol
__imp__PyEval_GetGlobals referenced in function "class
boost::python::api::object __cdecl boost::python::eval(class
boost::python::str,class boost::python::api::object,class
boost::python::api::object)"
(?eval at python@boost@@YA?AVobject at api@12 at Vstr@12 at V3412@1 at Z)
    C:\Users\Joey\Anaconda2\libs\python27.lib : warning LNK4272:
library machine type 'x64' conflicts with target machine type 'X86'
    ..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.dll
: fatal error LNK1120: 135 unresolved externals

            call
"C:\Users\Joey\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86.cmd" >nul
    link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /MACHINE:X86 /MANIFEST
/subsystem:console
/out:"..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.dll"
/IMPLIB:"..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.lib"
/LIBPATH:"C:\Users\Joey\Anaconda2\libs"
@"..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.dll.rsp"
            if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

    ...failed msvc.link.dll
..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.dll
..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.lib
..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.pdb...
    ...removing
..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.lib
    ...removing
..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.pdb
    ...skipped <pbin\msvc-14.0\debug\threading-multi>hello_ext.dll for
lack of <p..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi>boost_python-vc140-mt-gd-1_60.lib...
    ...skipped <pbin\msvc-14.0\debug\threading-multi>hello_ext.pdb for
lack of <p..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi>boost_python-vc140-mt-gd-1_60.lib...
    ...skipped <p.>boost_python-vc140-mt-gd-1_60.dll for lack of
<p..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi>boost_python-vc140-mt-gd-1_60.dll...
    ...skipped <p.>hello_ext.dll for lack of
<pbin\msvc-14.0\debug\threading-multi>hello_ext.dll...
    ...skipped <pbin\hello.test\msvc-14.0\debug\threading-multi>hello
for lack of <pbin\msvc-14.0\debug\threading-multi>hello_ext.dll...
    ...failed updating 3 targets...
    ...skipped 6 targets...

When I run "bjam address-model=64" I instead get

Performing configuration checks

    - 32-bit                   : yes (cached)
    - arm                      : no  (cached)
    - mips1                    : no  (cached)
    - power                    : no  (cached)
    - sparc                    : no  (cached)
    - x86                      : yes (cached)
    - symlinks supported       : no  (cached)
    - junctions supported      : yes (cached)
    - hardlinks supported      : yes (cached)
...found 1 target...
...updating 1 target...
config-cache.write bin\project-cache.jam
...updated 1 target...
...patience...
...patience...
...found 1924 targets...
...updating 5 targets...
msvc.link.dll bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pyd
   Creating library
bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pdb and
object bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.exp
LINK : fatal error LNK1104: cannot open file
'bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pdb'

        call "C:\Users\Joey\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_amd64.cmd"
>nul
link /NOLOGO /INCREMENTAL:NO /DLL /NOENTRY /DEBUG /MACHINE:X64
/MANIFEST /subsystem:console
/out:"bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pyd"
/IMPLIB:"bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pdb"
/LIBPATH:"C:\Users\Joey\Anaconda2\libs"
@"bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pyd.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

...failed msvc.link.dll
bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pyd
bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pdb
bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pdb...
...removing bin\msvc-14.0\debug\address-model-64\threading-multi\hello_ext.pyd
...skipped <p.>hello_ext.pyd for lack of
<pbin\msvc-14.0\debug\address-model-64\threading-multi>hello_ext.pyd...
...skipped <pbin\hello.test\msvc-14.0\debug\address-model-64\threading-multi>hello
for lack of <pbin\msvc-14.0\debug\address-model-64\threading-multi>hello_ext.pyd...
...failed updating 2 targets...
...skipped 3 targets...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20160322/6a6922c2/attachment-0001.html>


More information about the Cplusplus-sig mailing list