src/caffe/layers/hdf5_data_layer.cpp:13:18: fatal error: hdf5.h: No such file or directory

网友投稿 865 2022-08-23

src/caffe/layers/hdf5_data_layer.cpp:13:18: fatal error: hdf5.h: No such file or directory

src/caffe/layers/hdf5_data_layer.cpp:13:18: fatal error: hdf5.h: No such file or directory

编译caffe的时候遇见了这个问题:

CXX src/caffe/layers/power_layer.cppCXX src/caffe/layers/spp_layer.cppCXX src/caffe/layers/hdf5_data_layer.cppsrc/caffe/layers/hdf5_data_layer.cpp:13:18: fatal error: hdf5.h: No such file or directorycompilation terminated.Makefile:582: recipe for target '.build_release/src/caffe/layers/hdf5_data_layer.o' failedmake: *** [.build_release/src/caffe/layers/hdf5_data_layer.o] Error 1make: *** Waiting for unfinished jobs....

解决也很简单,缺什么补什么:

sudo apt-get install libhdf5-serial-dev

参考文献

[1].install HDF5 and pytables in ubuntu.https://stackoverflow.com/questions/31719451/install-hdf5-and-pytables-in-ubuntu

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Swift3新特性(swift3参数)
下一篇:Makefile:589: recipe for target '.build_release/src/caffe/proto/caffe.pb.o' failed
相关文章

 发表评论

暂时没有评论,来抢沙发吧~