OpenCV 3.1下载 ippicv_linux_20151201失败
去百度或者去下面链接里下载ippicv_linux_20151201,然后把他放到 opencv-3.0.0-beta/3rdparty/ippicv/downloads/linux-8b449a536a2157bcad08a2b9f266828b/
目录下替换原本的tgz文件
执行重新编译 cmake -D CMAKE_BUILD_TYPE=release -D CMAKE_INSTALL_PREFIX=/usr/local ..
参考链接 :
huangkangying的博文(这个链接里面附带资源)
yqtaowhu的博文
下载完Caffe,执行编译( udo make all )时,
1 .报错Makefile:591: recipe for target ‘.build_release/src/caffe/data_transformer.o’ failed
In file included from ./include/caffe/blob.hpp:8:0,
from ./include/caffe/data_transformer.hpp:6,
from src/caffe/data_transformer.cpp:8:
./include/caffe/common.hpp:4:32: fatal error: boost/shared_ptr.hpp: No such file or directory
compilation terminated.
Makefile:591: recipe for target '.build_release/src/caffe/data_transformer.o' failed
make: *** [.build_release/src/caffe/data_transformer.o] Error 1
原因可能是安装依赖的时候网络不稳定,没安装完全,执行: sudo apt-get install --no-install-recommends libboost-all-dev
重新加载即可
2.报错Makefile:635 recipe for target ‘.build_release/tools/convert_imageset.bin’ failed
错误就在Makefile文件
执行命令:
sudo gedit Makefile.config
进入Makefile修改文件
opencv_core这一行 原本这里应该LIBRARIES += opencv_core opencv_highgui opencv_imgproc
在最后面加上 opencv_imgcodecs (我的是在第201行,可以用ctril + F输入关键字查找)
保存
然后输入
sudo make clean
清除之前错误的编译再按照错误之前的命令重新编译
参考:
https://blog.csdn.net/zhang_yang_43/article/details/78357446
https://blog.csdn.net/wangkun1340378/article/details/78108923
执行make pycaffe
时 报错
CXX/LD -o python/caffe/_caffe.so python/caffe/_caffe.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
Makefile:517: recipe for target ‘python/caffe/_caffe.so’ failed
make: *** [python/caffe/_caffe.so] Error 4
这是因为内存不够,将内存增加至2G即可