undefined reference to cv::imread(cv::String const&, int)
2015-10-14 19:44
1286 查看
.build_release/lib/libcaffe-nv.so: undefined reference to cv::imread(cv::String const&, int)'
.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
http://blog.csdn.net/songtongit/article/details/46432731
.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
http://blog.csdn.net/songtongit/article/details/46432731
相关文章推荐
- Html5
- CSS中margin和padding的区别
- jQuery 遍历 - find() 方法
- [BZOJ1651] [Usaco2006 Feb]Stall Reservations 专用牛棚
- js求字符长度
- 实例演示(列表一个开其余的关)
- Buffett saying
- JS连续滚动幻灯片:原理与实现
- Java StringBuffer类
- bootstrap的流式布局
- JavaScript的面向对象
- html分析器——jericho-html-3.3分解table
- jQuery EasyUI API 中文文档 - ComboGrid 组合表格
- thread-safe 和 reentrant
- JS学习之闭包、this关键字、预解释、作用域综合
- 东北大学地理位置数据JSON版
- javascript循环性能优化的几种方法
- Jquery中$.ajax $.post load用法与区别
- JavaScript中字体浮动的简单演示实例
- WEB前端性能分析--工具篇