Caffe An example of an issue that does not find the header file:
/usr/local/include/caffe/blob.hpp:9:34:fatal error:caffe/proto/caffe.pb.h:no such file or directory
#include "Caffe/proto/caffe.pb.h"
Caffe cannot find the problem instance for the library file (the keyword has no member):
Error: ' Class caffe::memorydatalayer<float> ' has no member named ' Addmatvector '
The key point is that you can use the CD build and then CMake after you finish the make all in the official step. , then make install, or install it directly with the Cmake-make-make install trilogy
Make install before you can put the library files in the Caffe in the Ubuntu system, and then use Find_package to find
Cmake_minimum_required (VERSION 2.8.8) find_package (Caffe) include_directories (${caffe_include_dirs}) add_ Definitions (${caffe_definitions}) # Ex.-dcpu_only add_executable (caffeinated_application main.cpp) target_link_ Libraries (Caffeinated_application ${caffe_libraries})
Considerations for using Caffe as your own library under Ubuntu