1. 程式人生 > >caffe日常坑系列之:undefined reference to symbol '_ZN2cv6String10deallocateEv'

caffe日常坑系列之:undefined reference to symbol '_ZN2cv6String10deallocateEv'

iss ren and tor ssi symbols str mis locate

在使用caffe庫編譯C++時出現的

解決如下:

/usr/bin/ld: /tmp/ccA5JGRP.o: undefined reference to symbol ‘_ZN2cv6String10deallocateEv‘
//usr/local/lib/libopencv_core.so.3.2: error adding symbols: DSO missing from command line
解決:sudo apt-get autoremove libopencv-dev caffe自帶的幹掉即可

caffe日常坑系列之:undefined reference to symbol '_ZN2cv6String10deallocateEv'