CXX/LD -o .build_release/tools/convert_imageset.bin
CXX/LD -o .build_release/tools/caffe.bin
CXX/LD -o .build_release/tools/remove_files_from_lmdb.bin
CXX/LD -o .build_release/tools/extract_features.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin
CXX/LD -o .build_release/tools/compute_image_mean_from_txt.bin
CXX/LD -o .build_release/tools/convert_typed_lmdb_to_nontyped_lmdb.bin
/usr/bin/ld: warning: libboost_system.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_thread.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcudnn.so.5, needed by .build_release/lib/libcaffe.so, may conflict with libcudnn.so.7.0
/usr/bin/ld: warning: libboost_python.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<double>::zero'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<double>::one'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<float>::zero'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<float>::one'
collect2: error: ld returned 1 exit status
make: *** [.build_release/tools/convert_imageset.bin] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: warning: libboost_system.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_thread.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcudnn.so.5, needed by .build_release/lib/libcaffe.so, may conflict with libcudnn.so.7.0
/usr/bin/ld: warning: libboost_python.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<double>::zero'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<double>::one'/
.build_releaseusr//bin/ld:lib warning: /libboost_system.so.1.55.0, libcaffe.soneeded by: .build_release /lib/undefinedlibcaffe.so, not found (tryreference using -rpath orto -rpath -link)
`/usr/bin/caffe:ld: warning:: libboost_thread.so.1.55.0cudnn, needed: by .:build_release/lib/dataTypelibcaffe.so, not< found (floattry using >-rpath or: -rpath:-link)
zero/usr/bin'/ld:
warning: libcudnn.so.5.build_release, needed/ by lib.build_release/lib//libcaffe.so, libcaffe.somay conflict: with libcudnn.so.7.0
/usr/undefinedbin/ld: warning: referencelibboost_python.so.1.55.0, needed by to.build_release/ lib/libcaffe.so, `not found (caffetry using :-rpath or -rpath:-link)
cudnn.build_release/lib:/libcaffe.so:: undefined referencedataType to `<caffe::cudnn:float>:dataType<double:>::zero:'
.onebuild_release/lib/'libcaffe.so: undefined
reference to `caffe::cudnn::dataType<double>::one'
CXX/LD -o .build_release/tools/caffe.bin
CXX/LD -o .build_release/tools/remove_files_from_lmdb.bin
CXX/LD -o .build_release/tools/extract_features.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin
CXX/LD -o .build_release/tools/compute_image_mean_from_txt.bin
CXX/LD -o .build_release/tools/convert_typed_lmdb_to_nontyped_lmdb.bin
/usr/bin/ld: warning: libboost_system.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_thread.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcudnn.so.5, needed by .build_release/lib/libcaffe.so, may conflict with libcudnn.so.7.0
/usr/bin/ld: warning: libboost_python.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<double>::zero'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<double>::one'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<float>::zero'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<float>::one'
collect2: error: ld returned 1 exit status
make: *** [.build_release/tools/convert_imageset.bin] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: warning: libboost_system.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_thread.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcudnn.so.5, needed by .build_release/lib/libcaffe.so, may conflict with libcudnn.so.7.0
/usr/bin/ld: warning: libboost_python.so.1.55.0, needed by .build_release/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<double>::zero'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudnn::dataType<double>::one'/
.build_releaseusr//bin/ld:lib warning: /libboost_system.so.1.55.0, libcaffe.soneeded by: .build_release /lib/undefinedlibcaffe.so, not found (tryreference using -rpath orto -rpath -link)
`/usr/bin/caffe:ld: warning:: libboost_thread.so.1.55.0cudnn, needed: by .:build_release/lib/dataTypelibcaffe.so, not< found (floattry using >-rpath or: -rpath:-link)
zero/usr/bin'/ld:
warning: libcudnn.so.5.build_release, needed/ by lib.build_release/lib//libcaffe.so, libcaffe.somay conflict: with libcudnn.so.7.0
/usr/undefinedbin/ld: warning: referencelibboost_python.so.1.55.0, needed by to.build_release/ lib/libcaffe.so, `not found (caffetry using :-rpath or -rpath:-link)
cudnn.build_release/lib:/libcaffe.so:: undefined referencedataType to `<caffe::cudnn:float>:dataType<double:>::zero:'
.onebuild_release/lib/'libcaffe.so: undefined
reference to `caffe::cudnn::dataType<double>::one'
.build_release/lib/libcaffe.so: undefined reference to `caffe::cudn
百度到的结果是:
http://blog.csdn.net/u011037837/article/details/53405172
出现这种问题一般都是因为因为cudnn版本与caffe版本不匹配 这个要怎么改?
找了一个小伙伴在她的电脑上试一试 看看能编译过不。
在zyt 的电脑是可以编译过的。可能是我的cudnn 的版本的问题。
去掉了cudnn 加速在泰坦 black 上是可以编译过的。
20170524日更新
今天在tx1 上遇到错误:
百度到的问题依然是:cudnn版本与caffe版本不匹配
解决方法:
当当当 把caffe里面的所有与cudnn相关的.h 和.cpp 替换成能用cudnn 编译过的caffe
需要替换的cudnn有:
第一部分:
caffe-my/include/caffe/util 下面的cudnn.hpp
对应的cpp 文件为:caffe-my/src/caffe/util 下面的cudnn.cpp
第二部分:caffe-my/include/caffe/layers下面
同样的对应的cpp 文件为:
所有的都要替换掉。
anyway 希望对大家有帮助。。caffe 在make all 的过程中,暂时没有错误。。。