李酸酸 2021-04-27 22:40 采纳率: 0%
浏览 24

caffe编译过程中遇到这个错误

    正在创建库 C:/Users/SuperMike/build/lib/Release/_caffe.lib 和对象 C:/Users/SuperMike/build/lib/Release/_caffe.exp
_caffe.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) struct _object * __cdecl boost::python::detail::init_module(struct PyModuleDef &,void (__cdecl*)(v
oid))" (__imp_?init_module@detail@python@boost@@YAPEAU_object@@AEAUPyModuleDef@@P6AXXZ@Z),该符号在函数 PyInit__caffe 中被引用 [C:\Users\SuperMike\build\python\pycaffe.vc
xproj]
C:\Users\SuperMike\build\lib\Release\_caffe.pyd : fatal error LNK1120: 1 个无法解析的外部命令 [C:\Users\SuperMike\build\python\pycaffe.vcxproj]
  test_net.cpp
  Unknown compiler version - please run the configure tests and report the results

  • 写回答

3条回答 默认 最新

  • 关注

    Unknown compiler version - please run the configure tests and report the results

    不认识的编译器版本,请配置好环境再试试。

    评论

报告相同问题?