SSD编译出错 libcaffe.so:undefined reference to cv‘cv::imshow(cv::String const&, cv::_InputArray const&)’

SSD使用make -j8编译时,出现以下错误
CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin
.build_release/lib/libcaffe.so:undefined reference to ‘cv::imshow(cv::String const&, cv::_InputArray const&)’
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/get_image_size.bin' failed
make: *** [.build_release/tools/get_image_size.bin] Error 1
make: *** waiting for the unfinished task...
.build_release/lib/libcaffe.so:undefined reference to cv‘cv::imshow(cv::String const&, cv::_InputArray const&)'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_binary.bin' failed
make: *** [.build_release/tools/upgrade_net_proto_binary.bin] Error 1
.build_release/lib/libcaffe.so:undefined reference to cv‘cv::imshow(cv::String const&, cv::_InputArray const&)’
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/convert_annoset.bin' failed
make: *** [.build_release/tools/convert_annoset.bin] Error 1
.build_release/lib/libcaffe.so:undefined reference to cv‘cv::imshow(cv::String const&, cv::_InputArray const&)’
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/caffe.bin' failed
make: *** [.build_release/tools/caffe.bin] Error 1
.build_release/lib/libcaffe.so:undefined reference to cv‘cv::imshow(cv::String const&, cv::_InputArray const&)’
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/extract_features.bin' failed
make: *** [.build_release/tools/extract_features.bin] Error 1
.build_release/lib/libcaffe.so:undefined reference to cv‘cv::imshow(cv::String const&, cv::_InputArray const&)’
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/create_label_map.bin' failed
make: *** [.build_release/tools/create_label_map.bin] Error 1
.build_release/lib/libcaffe.so:undefined reference to cv‘cv::imshow(cv::String const&, cv::_InputArray const&)’
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1
.build_release/lib/libcaffe.so:undefined reference to cv‘cv::imshow(cv::String const&, cv::_InputArray const&)’
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_solver_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_solver_proto_text.bin] Error 1
已邀请:

zjwzcnjsy

赞同来自: yulizzz joshua_1988 alex68

找不到opecv的函数定义,没有链接opencv的库,安装下opencv或者配置的路径等有问题。

要回复问题请先登录注册