我按照这些说明安装和构建 Caffe 及其依赖项。我构建了 Boost 并在最后得到了这个:
The following directory should be added to compiler include paths:
/home/ubuntu/Caffe/boost_1_57_0
The following directory should be added to linker library paths:
/home/ubuntu/Caffe/boost_1_57_0/stage/lib
当我make all
在 caffe 目录中运行时,我得到了这个:
CXX src/caffe/blob.cpp
In file included from ./include/caffe/blob.hpp:8:0,
from src/caffe/blob.cpp:4:
./include/caffe/common.hpp:4:32: fatal error: boost/shared_ptr.hpp: No such file or directory
compilation terminated.
make: *** [.build_release/src/caffe/blob.o] Error 1
我需要修改什么才能找到包含(和 lib)文件?特定的环境变量?caffe 的 Makefile 中的设置?还有什么?