hdf5 目录没有serial_编译caffe-master时出现致命错误: hdf5.h:没有那个文件或目录...

在尝试编译Caffe-master时,遇到致命错误,提示hdf5.h文件不存在。尽管在include/caffe/util目录下找到了hdf5.hpp,但编译仍然失败。问题可能涉及依赖库的路径配置。
摘要由CSDN通过智能技术生成

参照欧新宇的《Caffe + Ubuntu 15.04 + CUDA 7.5 新手安装配置指南》在编译caffe-master执行$ make all -j16时出现如下的致命错误:

=======================================================================

src/caffe/layers/hdf5_output_layer.cpp:3:18: 致命错误: hdf5.h:没有那个文件或目录

编译中断。

Makefile:572: recipe for target '.build_release/src/caffe/layers/hdf5_output_layer.o' failed

make: *** [.build_release/src/caffe/layers/hdf5_output_layer.o] Error 1

make: *** 正在等待未完成的任务....

In file included from src/caffe/util/hdf5.cpp:1:0:

./include/caffe/util/hdf5.hpp:7:18: 致命错误: hdf5.h:没有那个文件或目录

编译中断。

Makefile:572: recipe for target '.build_release/src/caffe/util/hdf5.o' failed

make: *** [.build_release/src/caffe/util/hdf5.o] Error 1

src/caffe/net.cpp:8:18: 致命错误: hdf5.h:没有那个文件或目录

编译中断。

Makefile:572: recipe for target '.build_release/src/caffe/net.o' failed

make: *** [.build_release/src/caffe/net.o] Error 1

In file included from src/caffe/solver.cpp:8:0:

./include/caffe/util/hdf5.hpp:7:18: 致命错误: hdf5.h:没有那个文件或目录

编译中断。

Makefile:572: recipe for target '.build_release/src/caffe/solver.o' failed

make: *** [.build_release/src/caffe/solver.o] Error 1

================================================================

但是在进入/include/caffe/util/目录下时有hdf5.hpp这个文件存在的,请教各位大神,这是哪里出现问题了呢?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值