ubuntn 16.04.2下caffee的安装教程

来源:互联网 发布:2017中国大数据50强 编辑:程序博客网 时间:2024/05/19 06:51

ubuntn 16.04.2下caffee的安装教程参考http://blog.csdn.net/oyjxer/article/details/51824254

编译时出现以下错误

LD -o .build_release/lib/libcaffe.so.1.0.0-rc5
/usr/bin/ld: cannot find -lhdf5_hl
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
Makefile:566: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc5' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0-rc5] Error 1

解决:

修改Makefile 文件(注意不是Makefile.config)
将里面的
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

0 0
原创粉丝点击