You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ukrdailo@rcv:~/Desktop/PSPNet/PSPNet$ make matcaffe -j8
make: /usr/local/bin/mexext: Command not found
MEX matlab/+caffe/private/caffe_.cpp
Building with 'g++'.
Warning: You are using gcc version '4.8.4'. The version of gcc is not supported. The version currently supported with MEX is '4.7.x'. For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release.
.build_release/lib/libcaffe.a(window_data_layer.o): In function `caffe::WindowDataLayer<float>::load_batch(caffe::Batch<float>*)':
window_data_layer.cpp:(.text._ZN5caffe15WindowDataLayerIfE10load_batchEPNS_5BatchIfEE[_ZN5caffe15WindowDataLayerIfE10load_batchEPNS_5BatchIfEE]+0xb81): undefined reference to `cv::imread(cv::String const&, int)'
.build_release/lib/libcaffe.a(window_data_layer.o): In function `caffe::WindowDataLayer<double>::load_batch(caffe::Batch<double>*)':
window_data_layer.cpp:(.text._ZN5caffe15WindowDataLayerIdE10load_batchEPNS_5BatchIdEE[_ZN5caffe15WindowDataLayerIdE10load_batchEPNS_5BatchIdEE]+0xbb1): undefined reference to `cv::imread(cv::String const&, int)'
.build_release/lib/libcaffe.a(io.o): In function `caffe::ReadImageToCVMat(std::string const&, int, int, bool, int*, int*)':
io.cpp:(.text+0x597): undefined reference to `cv::imread(cv::String const&, int)'
.build_release/lib/libcaffe.a(io.o): In function `caffe::DecodeDatumToCVMatNative(caffe::Datum const&)':
io.cpp:(.text+0x1294): undefined reference to `cv::imdecode(cv::_InputArray const&, int)'
.build_release/lib/libcaffe.a(io.o): In function `caffe::DecodeDatumToCVMat(caffe::Datum const&, bool)':
io.cpp:(.text+0x1688): undefined reference to `cv::imdecode(cv::_InputArray const&, int)'
.build_release/lib/libcaffe.a(io.o): In function `caffe::ReadImageToDatum(std::string const&, int, int, int, bool, std::string const&, caffe::Datum*)':
io.cpp:(.text+0x1e02): undefined reference to `cv::imencode(cv::String const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<int, std::allocator<int> > const&)'
collect2: error: ld returned 1 exit status
make: *** [matlab/+caffe/private/caffe_.] Error 255
I am guessing the problem is with OpenCV version? Are you using OpenCV2 or OpenCV3?
Thanks in andvance!
The text was updated successfully, but these errors were encountered:
I am also facing the problem while executing the command make -j8 && make matcaffe
Anyone solved it?
make: /usr/local/bin/mexext: Command not found
MEX matlab/+caffe/private/caffe_.cpp
/bin/sh: 1: /usr/local/bin/mex: not found
Makefile:511: recipe for target 'matlab/+caffe/private/caffe_.' failed
make: *** [matlab/+caffe/private/caffe_.] Error 127
Getting the following error when make matcaffe
I am guessing the problem is with OpenCV version? Are you using OpenCV2 or OpenCV3?
Thanks in andvance!
The text was updated successfully, but these errors were encountered: