配置Caffe遇到hdf5.h的错误:No such file or directory
来源:互联网 发布:运动软件 佳明 编辑:程序博客网 时间:2024/06/05 09:58
【转需】搭建caffe环境时,在最后进行 ”$make all” 操作时,报错找不到 “hdf5.h”,找了半天原因,是因为在安装 “hdf5” 的时候使用的指令是
“
”
所以相应的需要更改"Makefile.config"文件中的包含目录
ctrl+f 找到
INCLUDE_DIRS:=$(PYTHON_INCLUDE) /usr/local/include然后在后面加上"serial"的包含目录,即:
INCLUDE_DIRS:=$(PYTHON_INCLUDE) /usr/local/include/usr/include/hdf5/serial/
接着需要更改相应的"Makefile"文件,找到
LIBRARIES +=glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5
更改最后两项为:
LIBRARIES +=glog gflags protobuf boost_system boost_filesystem m hdf5_serial_hl hdf5_serial
就可以了,继续make了。
阅读全文
0 0
- 配置Caffe遇到hdf5.h的错误:No such file or directory
- ubuntu16.04+caffe(CPU only)&hdf5.h: No such file or directory
- ./include/caffe/data_layers.hpp:9:18: fatal error: hdf5.h: No such file or directory
- caffe编译之fatal error: hdf5.h: No such file or directory
- fatal error: hdf5.h: No such file or directory
- fatal error: hdf5.h: No such file or directory
- h5py/api_compat.h:27:18: error: hdf5.h: No such file or directory
- CentOS中遇到zlib.h: No such file or directory
- make pycaffe遇到致命错误No such file or directory Python.h
- linux/videodev.h: No such file or directory错误解决方法
- Libxml/tree.h:No such file or directory错误
- 错误:ui_mainwindow.h:No such file or directory
- mysql错误:my_config.h: No such file or directory
- Linux错误 curses.h:No such file or directory解决方案
- Libxml/tree.h:No such file or directory错误
- redis 安装错误 jemalloc.h: No such file or directory
- caffe编译的问题解决:“cublas_v2.h: No such file or directory”
- caffe编译的问题解决:“cublas_v2.h: No such file or directory”
- 第四章 “字符串和多维数组”翻转学习任务
- Python3:《机器学习实战》之支持向量机(4)核函数及其实现
- C语言——#ifndef
- 第二次作业,模拟CPU与硬盘容量
- bzoj1711 [Usaco2007 Open]Dining吃饭
- 配置Caffe遇到hdf5.h的错误:No such file or directory
- Linux中sysinfo的用法
- ubuntu16.04下快速配置jdk环境的方法
- 给 Android 开发者的 RxJava 详解
- java内存模型中的happens-before
- DOS命令
- EL表达式的使用
- 目标检测之focal loss
- top命令