Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Intel Caffe build fails with opencv 4.1.1 #288

Open
vijnasu opened this issue Aug 11, 2019 · 0 comments
Open

Intel Caffe build fails with opencv 4.1.1 #288

vijnasu opened this issue Aug 11, 2019 · 0 comments

Comments

@vijnasu
Copy link

vijnasu commented Aug 11, 2019

I have Intel OpenVINO installed which points to opencv 4.1.1
The build fails throwing opencv errors like the following.

.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::set(int, double)' .build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::operator>>(cv::Mat&)'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::isOpened() const' .build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::get(int) const'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::~VideoWriter()' .build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::~VideoCapture()'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::VideoCapture()' .build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::write(cv::Mat const&)'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::open(cv::String const&)' .build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::release()'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::VideoWriter(cv::String const&, int, double, cv::Size_<int>, bool)' .build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::VideoWriter()'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::open(int)' .build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::isOpened() const'
collect2: error: ld returned 1 exit status
Makefile:859: recipe for target '.build_release/tools/caffe.bin' failed
make: *** [.build_release/tools/caffe.bin] Error 1
/usr/bin/ld: warning: libmklml_intel.so, needed by /home/hemanth/caffe/external/mkldnn/install/lib/libmkldnn.so, not found (try using -rpath or -rpath-link)
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::set(int, double)' .build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::operator>>(cv::Mat&)'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::isOpened() const' .build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::get(int) const'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::~VideoWriter()' .build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::~VideoCapture()'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::VideoCapture()' .build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::write(cv::Mat const&)'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::open(cv::String const&)' .build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::release()'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::VideoWriter(cv::String const&, int, double, cv::Size_<int>, bool)' .build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::VideoWriter()'
.build_release/lib/libcaffe.so: undefined reference to cv::VideoCapture::open(int)' .build_release/lib/libcaffe.so: undefined reference to cv::VideoWriter::isOpened() const'
collect2: error: ld returned 1 exit status
Makefile:859: recipe for target '.build_release/tools/convert_annoset.bin' failed
make: *** [.build_release/tools/convert_annoset.bin] Error 1
make: *** wait: No child processes. Stop.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant