Open AlexTS1980 opened 8 years ago
Hi, I am compling caffe-segnet on ubuntu 16.4. When i run make all command i get following error
"(cv) yonatan@CECS4RMHRD2:~/Downloads/caffe-segnet-segnet-cleaned$ make all
CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
.build_release/lib/libcaffe.so: undefined reference to cv::imread(cv::String const&, int)' .build_release/lib/libcaffe.so: undefined reference to
cv::imencode(cv::String const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator
I am using caffe-segnet default Makefile.config file with following changes. addition:
OPENCV_VERSION := 3
addition: LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5 \ opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs but still i get errors. I have removed these options but still same error. Any help?
you have the same issue as CRF-RNN: opencv v3 is not recognized. I solved the problem in the same way, by changing the Makefile:
https://github.com/torrvision/crfasrnn/issues/51
This should be useful