android caffe lib so,.build_release/lib/libcaffe.so:对‘cv::VideoCapture::set(int, double)’未定义的引用...

github RefineDet 编译时报错:

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::set(int, double)’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoWriter::write(cv::Mat const&)’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::open(cv::String const&)’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::release()’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::operator>>(cv::Mat&)’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoWriter::VideoWriter(cv::String const&, int, double, cv::Size_, bool)’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::isOpened() const’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::get(int) const’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoWriter::VideoWriter()’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::open(int)’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoWriter::isOpened() const’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoWriter::~VideoWriter()’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::~VideoCapture()’未定义的引用

.build_release/lib/libcaffe.so:对‘cv::VideoCapture::VideoCapture()’未定义的引用

原因是如果用的opencv3,需要在Makefile.config中取消

OPENCV_VERSION := 3

的注释

你可能感兴趣的:(android,caffe,lib,so)