BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
33.98k stars 18.72k forks source link

can't build cafffe (opencv3.4) #6925

Open jackhelloworldly opened 4 years ago

jackhelloworldly commented 4 years ago

I have some problems about caffe. When I command "sudo make all -j8"

CXX/LD -o .build_release/examples/mnist/convert_mnist_data.bin CXX/LD -o .build_release/examples/siamese/convert_mnist_siamese_data.bin CXX/LD -o .build_release/examples/cifar10/convert_cifar_data.bin CXX/LD -o .build_release/tools/convert_imageset.bin .build_release/examples/cpp_classification/classification.o: In function Classifier::WrapInputLayer(std::vector<cv::Mat, std::allocator<cv::Mat> >*)': classification.cpp:(.text+0x1b96): undefined reference tocv::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+0x2c0c): undefined reference tocv::Mat::updateContinuityFlag()' collect2: error: ld returned 1 exit status Makefile:640: recipe for target '.build_release/examples/cpp_classification/classification.bin' failed make: [.build_release/examples/cpp_classification/classification.bin] Error 1 make: Waiting for unfinished jobs....

I use the different version about opencv3. However, the result is the same.