Ubuntu14.04+caffe配置过程中出现的问题
2017-07-07 14:50
447 查看
按照在ubuntu上配置带gpu版本的caffe配的
1.src/caffe/net.cpp:8:18: fatal error: hdf5.h: No such file or directory
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/net.o' failed
make: *** [.build_release/src/caffe/net.o] Error 1
解决方法:
在Makefile.config文件的第85行,添加/usr/include/hdf5/serial/ 到 INCLUDE_DIRS,也就是把下面第一行代码改为第二行代码。
INCLUDE_DIRS:= $(PYTHON_INCLUDE) /usr/local/include
在Makefile文件的第173行,把 hdf5_hl 和hdf5修改为hdf5_serial_hl 和 hdf5_serial,也就是把下面第一行代码改为第二行代码。
LIBRARIES +=glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5
1.src/caffe/net.cpp:8:18: fatal error: hdf5.h: No such file or directory
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/net.o' failed
make: *** [.build_release/src/caffe/net.o] Error 1
解决方法:
在Makefile.config文件的第85行,添加/usr/include/hdf5/serial/ 到 INCLUDE_DIRS,也就是把下面第一行代码改为第二行代码。
INCLUDE_DIRS:= $(PYTHON_INCLUDE) /usr/local/include
INCLUDE_DIRS:= $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/
在Makefile文件的第173行,把 hdf5_hl 和hdf5修改为hdf5_serial_hl 和 hdf5_serial,也就是把下面第一行代码改为第二行代码。
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
相关文章推荐
- Ubuntu14.04 (Kylin)下安装cuda, opencv, matlab 及配置 caffe --过程附图
- ubuntu14.04 root登陆与自动登陆配置方法及出现问题解决
- ubuntu 16.04 下使用cpu配置caffe及出现fPIC的问题
- ubuntu14.04 64位caffe配置遇到libboost依赖问题
- ubuntu16.04配置caffe出现protobuf问题
- Ubuntu 14.04 64位机上不带CUDA支持的Caffe配置编译操作过程
- cuda7.0 + caffe + ubuntu14.04(笔记本) 配置过程
- Ubuntu Qt下pro配置caffe和opencv出现的问题及解决方法
- Ubuntu下caffe安装过程中出现的问题与解决方案
- caffe Ubuntu14.04 安装教程 及 出现的问题,解决办法
- Ubuntu 14.04 64位机上不带CUDA支持的Caffe配置编译操作过程
- Ubuntu 14.04 64位机上不带CUDA支持的Caffe配置编译操作过程+faster-rcnn
- ubuntu16.04配置caffe出现protobuf问题
- Ubuntu14.04配置OpenCL版本caffe (AMD显卡)---- 问题总结(持续更新)
- UDT Ubuntu14.04编译过程出现的问题及解决
- Ubuntu 14.04 64位机上不带CUDA支持的Caffe配置编译操作过程
- ubuntu server14.04LTS下手动模拟DNS并配置虚拟主机以及配置过程遇到的问题的解决方法
- Caffe+CUDA8.0+CuDNNv5.1+OpenCV3.1+Ubuntu14.04 配置参考文献 以及 常见编译问题总结
- [2014.5.13][Ubuntu] Ubuntu 14.04STL 出现NTFS分区无法访问的问题
- Ubuntu 下配置 SSH服务全过程及问题解决