美文网首页
caffe make solver.o failed

caffe make solver.o failed

作者: zhenggeaza | 来源:发表于2017-12-14 09:49 被阅读0次

    ERROR:

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

    ./include/caffe/util/hdf5.hpp:6:18: fatal error: hdf5.h: No such file or directory

    compilation terminated.

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

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

    方法:

    install libhdf5-dev

    add patch to libhdf5 in Makefile.config.

    example: INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/

    相关文章

      网友评论

          本文标题:caffe make solver.o failed

          本文链接:https://www.haomeiwen.com/subject/rlphwxtx.html