本文介绍了未定义符号:_ZdlPvm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用和。 Apollocaffe 在c ++库中,而 Reinspect 在使用 apollocaffe库
我使用g ++-4.8.5构建apollocaffe。
运行命令 python -m pdb train.py config-- config.json 时,出现此错误,

I am using apollocaffe and Reinspect. Apollocaffe is in c++ library and Reinspect is in python that uses apollocaffe library.I build apollocaffe using g++-4.8.5.When I run the command python -m pdb train.py config-- config.json, I have this error,

ImportError: '/home/xxx/Softwares/Libraries/apollocaffe_22_3_17/build_debug/lib/libcaffe.so: undefined symbol: _ZdlPvm'

有什么问题吗?

推荐答案

问题可能是Cuda是使用一个g ++版本构建的,而Apollocaffe是使用另一个g ++版本构建的。现在,我使用相同的g ++版本重建了所有文件,现在效果很好。

The problem could be Cuda was built with one g++ version and Apollocaffe was built with another g++ version. Now I rebuild all with same g++ version and now it works well.

这篇关于未定义符号:_ZdlPvm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-05 19:33