标签: caffe

构建 Caffe:无法看到 hdf5.h

Hello Caffe 是一个深度学习库。尝试在 Ubuntu 15.04 下构建该库时,编译失败并显示以下消息:

:~/App/caffe$ make all

PROTOC src/caffe/proto/caffe.proto
CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX src/caffe/layer_factory.cpp
In file included from ./include/caffe/common_layers.hpp:10:0,
                 from ./include/caffe/vision_layers.hpp:10,
                 from src/caffe/layer_factory.cpp:6:
./include/caffe/data_layers.hpp:9:18: fatal error: hdf5.h: Aucun fichier ou dossier de ce type
 #include "hdf5.h"
                  ^
compilation terminated.
Makefile:512: recipe for target '.build_release/src/caffe/layer_factory.o' failed
make: *** [.build_release/src/caffe/layer_factory.o] Error 1
Run Code Online (Sandbox Code Playgroud)

构建失败似乎是特定于 Ubuntu 的。我已经检查了不同的依赖项。我尝试了不同的解决方法:直接在 Makefile.config 中写入 hdf5.h 的路径,从源代码构建 hdf5...

谢谢你的建议

compiling makefile opencv image-processing caffe

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

caffe ×1

compiling ×1

image-processing ×1

makefile ×1

opencv ×1