C++ ----------------》》》》》cmake list的

//usr/lib/x86_64-linux-gnu/libprotobuf.so.9: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/CVMS_ALGORITHMS.dir/build.make:1151: recipe for target 'CVMS_ALGORITHMS' f

表示没有添加protobuf

target_link_libraries(${ProjectName}
glog
leveldb
gflags
boost_system
boost_filesystem
m
caffe
opencv_core
opencv_highgui
opencv_imgproc
protobuf
pthread
cblas
)

原文地址:https://www.cnblogs.com/shuimuqingyang/p/14034582.html