码迷,mamicode.com
首页 > 其他好文 > 详细

undefined reference to cv::imread(cv::String const&, int)

时间:2016-12-06 20:20:02      阅读:1978      评论:0      收藏:0      [点我收藏+]

标签:2.3   hdf   caffe   height   cto   rar   ica   input   define   


.build_release/lib/libcaffe-nv.so: undefined reference tocv::imencode(cv::String const&, cv::_InputArray const&, 
std::vector >&, std::vector > const&)‘
.build_release/lib/libcaffe-nv.so: undefined reference to `cv::imdecode(cv::_InputArray const&, int)‘
collect2: error: ld returned 1 exit status
make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1


[Solution]
change Makefile:
LIBRARIES += glog gflags protobuf leveldb snappy \
lmdb boost_system hdf5_hl hdf5 m \
opencv_core opencv_highgui opencv_imgproc
add :opencv_imgcodecs solve my problem


undefined reference to cv::imread(cv::String const&, int)

标签:2.3   hdf   caffe   height   cto   rar   ica   input   define   

原文地址:http://www.cnblogs.com/wjgaas/p/6138726.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!