- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我一直在解决这个问题四十个小时,使用我能找到的每一个 boost python 资源,以及我能想到的每一个安装和构建的排列,但找不到任何对我有用的东西。
像我之前的许多人一样,当我在 boost/boost_1_60_0/libs/python/example/tutorial
中运行 bjam 时,我遇到了链接器错误。目录。我有 Visual Studio 2015,并且我尝试通过 user-config.jam
的不同配置使用 32 位 Anaconda、64 位 Anaconda 和纯 Python 2.7 运行 bjam。文件位于我的主目录中。
这是运行后的构建日志 bjam
任何设置。
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@numeric@python@boost@@YA_N_N@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@_N@converter@python@boost@@QAE@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@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@converter@python@boost@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@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@numeric@python@boost@@YA_N_N@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@numeric@python@boost@@YA_N_N@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@array_object_manager_traits@aux@numeric@python@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@list_base@detail@python@boost@@QBEHABVobject@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@detail@python@boost@@IAE@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@list_base@detail@python@boost@@QAEXHABVobject@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YA?AVobject@012@ABV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@python@boost@@YAAAVobject@012@AAV3012@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@wrapper_base@detail@python@boost@@IBE?AVoverride@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@python@boost@@YA?AVobject@api@12@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@python@boost@@YA?AVobject@api@12@Vstr@12@V3412@1@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@python@boost@@YA?AVobject@api@12@Vstr@12@V3412@1@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@python@boost@@YA?AVobject@api@12@Vstr@12@V3412@1@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@python@boost@@YA?AVobject@api@12@Vstr@12@V3412@1@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@python@boost@@YA?AVobject@api@12@Vstr@12@V3412@1@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...
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
;
bjam
bjam address-model=64
bjam address-model=64 architecture=x86
bjam address-model=64
,我更快地收到以下错误:
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...
import toolset : using ;
using msvc : 14.0 ;
using python
: 2.7 # Version
: C:\\Python27\\python.exe # Interpreter
: C:\\Python27\\include # inc dir
: C:\\Python27\\libs # link libs
: # conditions
;
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 1916 targets...
...updating 5 targets...
msvc.link.dll bin\msvc-14.0\debug\threading-multi\hello_ext.pyd
Creating library bin\msvc-14.0\debug\threading-multi\hello_ext.pdb and object bin\msvc-14.0\debug\threading-multi\hello_ext.exp
LINK : fatal error LNK1207: incompatible PDB format in 'C:\Program Files\boost\boost_1_60_0_64\libs\python\example\tutorial\bin\msvc-14.0\debug\threading-multi\hello_ext.pdb'; delete and rebuild
call "C:\Users\Joey\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86.cmd" >nul
link /NOLOGO /INCREMENTAL:NO /DLL /NOENTRY /DEBUG /MACHINE:X86 /MANIFEST /subsystem:console /out:"bin\msvc-14.0\debug\threading-multi\hello_ext.pyd" /IMPLIB:"bin\msvc-14.0\debug\threading-multi\hello_ext.pdb" /LIBPATH:"C:\Python27\libs" @"bin\msvc-14.0\debug\threading-multi\hello_ext.pyd.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link.dll bin\msvc-14.0\debug\threading-multi\hello_ext.pyd bin\msvc-14.0\debug\threading-multi\hello_ext.pdb bin\msvc-14.0\debug\threading-multi\hello_ext.pdb...
...removing bin\msvc-14.0\debug\threading-multi\hello_ext.pdb
...skipped <p.>hello_ext.pyd for lack of <pbin\msvc-14.0\debug\threading-multi>hello_ext.pyd...
...skipped <pbin\hello.test\msvc-14.0\debug\threading-multi>hello for lack of <pbin\msvc-14.0\debug\threading-multi>hello_ext.pyd...
...failed updating 2 targets...
...skipped 3 targets...
最佳答案
我遇到了和你类似的问题,发现这是罪魁祸首:
C:\Users\Joey\Anaconda2\libs\python27.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'X86'
关于boost - 在 Boost Python 教程上运行 bjam 的链接器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36143494/
我已经使用 vue-cli 两个星期了,直到今天一切正常。我在本地建立这个项目。 https://drive.google.com/open?id=0BwGw1zyyKjW7S3RYWXRaX24tQ
您好,我正在尝试使用 python 库 pytesseract 从图像中提取文本。请找到代码: from PIL import Image from pytesseract import image_
我的错误 /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference
我已经训练了一个模型,我正在尝试使用 predict函数但它返回以下错误。 Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]])
根据Microsoft DataConnectors的信息我想通过 this ODBC driver 创建一个从 PowerBi 到 PostgreSQL 的连接器使用直接查询。我重用了 Micros
我已经为 SoundManagement 创建了一个包,其中有一个扩展 MediaPlayer 的类。我希望全局控制这个变量。这是我的代码: package soundmanagement; impo
我在Heroku上部署了一个应用程序。我正在使用免费服务。 我经常收到以下错误消息。 PG::Error: ERROR: out of memory 如果刷新浏览器,就可以了。但是随后,它又随机发生
我正在运行 LAMP 服务器,这个 .htaccess 给我一个 500 错误。其作用是过滤关键字并重定向到相应的域名。 Options +FollowSymLinks RewriteEngine
我有两个驱动器 A 和 B。使用 python 脚本,我在“A”驱动器中创建一些文件,并运行 powerscript,该脚本以 1 秒的间隔将驱动器 A 中的所有文件复制到驱动器 B。 我在 powe
下面的函数一直返回这个错误信息。我认为可能是 double_precision 字段类型导致了这种情况,我尝试使用 CAST,但要么不是这样,要么我没有做对...帮助? 这是错误: ERROR: i
这个问题已经有答案了: Syntax error due to using a reserved word as a table or column name in MySQL (1 个回答) 已关闭
我的数据库有这个小问题。 我创建了一个表“articoli”,其中包含商品的品牌、型号和价格。 每篇文章都由一个 id (ID_ARTICOLO)` 定义,它是一个自动递增字段。 好吧,现在当我尝试插
我是新来的。我目前正在 DeVry 在线学习中级 C++ 编程。我们正在使用 C++ Primer Plus 这本书,到目前为止我一直做得很好。我的老师最近向我们扔了一个曲线球。我目前的任务是这样的:
这个问题在这里已经有了答案: What is an undefined reference/unresolved external symbol error and how do I fix it?
我的网站中有一段代码有问题;此错误仅发生在 Internet Explorer 7 中。 我没有在这里发布我所有的 HTML/CSS 标记,而是发布了网站的一个版本 here . 如您所见,我在列中有
如果尝试在 USB 设备上构建 node.js 应用程序时在我的树莓派上使用 npm 时遇到一些问题。 package.json 看起来像这样: { "name" : "node-todo",
在 Python 中,您有 None单例,在某些情况下表现得很奇怪: >>> a = None >>> type(a) >>> isinstance(a,None) Traceback (most
这是我的 build.gradle (Module:app) 文件: apply plugin: 'com.android.application' android { compileSdkV
我是 android 的新手,我的项目刚才编译和运行正常,但在我尝试实现抽屉导航后,它给了我这个错误 FAILURE: Build failed with an exception. What wen
谁能解释一下?我想我正在做一些非常愚蠢的事情,并且急切地等待着启蒙。 我得到这个输出: phpversion() == 7.2.25-1+0~20191128.32+debian8~1.gbp108
我是一名优秀的程序员,十分优秀!