编译ssd至build时全部错误cv::未定义等
来源:互联网 发布:胸肌下轮廓 知乎 编辑:程序博客网 时间:2024/06/05 11:05
错误中的一部分:build/lib/libcaffe.a(image_io.o): In function caffe::ReadVideoToVolumeDatum(char const*, int, int, int, int, int, int, caffe::VolumeDatum*)': image_io.cpp:(.text+0x1905): undefined reference tocv::VideoCapture::VideoCapture()'
image_io.cpp:(.text+0x1abe): undefined reference to cv::VideoCapture::open(cv::String const&)' image_io.cpp:(.text+0x1ace): undefined reference tocv::VideoCapture::isOpened() const'
image_io.cpp:(.text+0x1c91): undefined reference to cv::VideoCapture::~VideoCapture()' image_io.cpp:(.text+0x1d22): undefined reference tocv::VideoCapture::get(int) const'
image_io.cpp:(.text+0x1d6d): undefined reference to cv::VideoCapture::set(int, double)' image_io.cpp:(.text+0x1de1): undefined reference tocv::VideoCapture::set(int, double)'
image_io.cpp:(.text+0x1e35): undefined reference to cv::VideoCapture::read(cv::_OutputArray const&)' image_io.cpp:(.text+0x1f7e): undefined reference tocv::VideoCapture::release()'
image_io.cpp:(.text+0x1abe): undefined reference to cv::VideoCapture::open(cv::String const&)' image_io.cpp:(.text+0x1ace): undefined reference tocv::VideoCapture::isOpened() const'
image_io.cpp:(.text+0x1c91): undefined reference to cv::VideoCapture::~VideoCapture()' image_io.cpp:(.text+0x1d22): undefined reference tocv::VideoCapture::get(int) const'
image_io.cpp:(.text+0x1d6d): undefined reference to cv::VideoCapture::set(int, double)' image_io.cpp:(.text+0x1de1): undefined reference tocv::VideoCapture::set(int, double)'
image_io.cpp:(.text+0x1e35): undefined reference to cv::VideoCapture::read(cv::_OutputArray const&)' image_io.cpp:(.text+0x1f7e): undefined reference tocv::VideoCapture::release()'
image_io.cpp:(.text+0x1fc3): undefined reference to cv::VideoCapture::read(cv::_OutputArray const&)' image_io.cpp:(.text+0x22e9): undefined reference tocv::VideoCapture::~VideoCapture()'
解决方法:
在Makefile文件中找到第195行如:
ifeq ($(USE_OPENCV), 1)
LIBRARIES +=
在LIBRARIES后添加opencv_videoio和opencv_imgcodecs然后重新编译即可
阅读全文
0 0
- 编译ssd至build时全部错误cv::未定义等
- Ubuntu编译错误: XftConfig_current_buffer 未定义
- linux2.6.28.1编译时__mutex_unlock_slowpath未定义的错误
- linux2.6.28.1编译时__mutex_unlock_slowpath未定义的错误
- VS2010编译时出现“未定义的基类”错误
- 未定义标识符ULONG_PTR,BOOL等错误解决方法
- VS2008 编译时跳过错误 Skipped Build
- VS编译时跳过错误 Skipped Build
- 编译错误build error
- 关于vs2005 __RPC__out __RPC__in 未定义编译错误
- 编译错误:用户定义类型未定义(IUnknown)
- OpenCV 编译错误 ‘未定义的引用’
- C++编译错误cannot have cv-qualifier
- 编写目标跟踪程序时出现Tracher未定义的错误-->opencv_contrib编译(Windows)
- 解决编译OpenCV项目时出现的undefined reference to cv::xxxx错误
- Disksim 4.0 + SSD-extention make编译时出现错误 “ **commands commence before first target. Stop.”
- 未结束的常量字符串、函数未定义、××未定义、js中文乱码等js错误
- maven build时出现编译错误,提示程序包不存在
- 718. Maximum Length of Repeated Subarray
- 11.1~11.2NOIP模拟赛总结
- UVA-10129 Play on Words
- ActiveMQ的初步了解
- fresco动画
- 编译ssd至build时全部错误cv::未定义等
- js金额大小写转换
- Implement strStr()
- 神经网络移植到STM32F4上的应用
- 【Java没基础】函数式编程——Stream API 中的收集器
- Linux网络配置
- 浏览器插件
- 135. Candy
- 利用GitHubPages+jekyll+Markdown搭建个人博客