Caffe的bug:
1) 问题1:
问题1:/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
解决:这是由于没有在makefile文件中导入c++11版本,因此打开makefile后,在COMMON_FLAGS后加入-std=c++11 #update by holobo语句,如下:
2)问题2:
问题2:python/caffe/_caffe.cpp:10:31: fatal error: numpy/arrayobject.h: No such file or directory
解决:由于numpy路径在Makefile.config文件中写错,因此更改为: