天天看點

caffe的兩個重要錯誤Caffe的bug:

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語句,如下:

caffe的兩個重要錯誤Caffe的bug:

2)問題2:

問題2:python/caffe/_caffe.cpp:10:31: fatal error: numpy/arrayobject.h: No such file or directory

解決:由于numpy路徑在Makefile.config檔案中寫錯,是以更改為:

caffe的兩個重要錯誤Caffe的bug: