Undefined Reference to cv::Mat::updateContinuityFlag()
I'm building Caffe from src on ubuntu 16.04LTS on Nvidia Tx2 Jetpack 3.2
I'm have opencv 3.3.1 installed and have set the flag to build with OpenCV 3.
This is the exact error:
`CXX/LD -o .build_release/examples/cpp_classification/classification.bin .build_release/examples/cpp_classification/classification.o: In function Classifier::WrapInputLayer(std::vector<cv::mat, std::allocator<cv::mat=""> >)': classification.cpp:(.text+0x12c4): undefined reference to 'cv::Mat::updateContinuityFlag()' .build_release/examples/cpp_classification/classification.o: In function 'Classifier::SetMean(std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&)': classification.cpp:(.text+0x1fe0): undefined reference to 'cv::Mat::updateContinuityFlag()' collect2: error: ld returned 1 exit status Makefile:630: recipe for target '.build_release/examples/cpp_classification/classification.bin' failed make: ** [.build_release/examples/cpp_classification/classification.bin] Error 1
Any thoughts? Thanks Ahead of Time.
Weird updateContinuityflag is defined in opencv>=3.4.2 but not in opencv 3.3.1 I understand that include files are opencv >=3.4.2 but lib are <3.4.2. may be I'm wrong
3.3.1
-- that's very old. please try with latest 3.4.3 instead(we can also help you better, if you're using the same current version, anyone else uses...)