编译问题
luhongkai opened this issue · comments
我用的vs2013+Boost1.65+py3.6
一键编译不通过,Cmake和boost的版本无法对应上
我是放到vs里手工编译的:
错误LNK2001:未解析的外部符号“declspec(dllimport)struct object * cdecl boost :: python :: detail :: init_module(struct PyModuleDef&,void( cdecl *)(void))”( imp?init_module @ detail @ python @ boost @@ YAPAU_object @@ AAUPyModuleDef @@ P6AXXZ @ Z)
你可能需要编译 boost-python3