编译PSPNet caffe时,出现错误:
src/caffe/util/matio_io.cpp:10:19: fatal error: matio.h: No such file or directory
compilation terminated.Makefile:575: recipe for target '.build_release/src/caffe/util/matio_io.o' failed
make: *** [.build_release/src/caffe/util/matio_io.o] Error 1
原因是没有安装matio,下面介绍matio安装方法.
(1)首先从https://sourceforge.net/projects/matio/files/matio/1.5.2/下载matio-1.5.2安装包.
(2)之后按照如下步骤安装:
tar zxf matio-X.Y.Z.tar.gz