安装Caffe时遇到问题(编译步骤)

时间:2019-05-31 19:26:53

标签: caffe

按照Caffe官方网站上的安装说明,我进入了需要“全部制作”的步骤。

除opencv2以外,前面的步骤运行良好(它说它找不到'core'文件,我对在makefile.confifg中使用opencv2的内容未加评论)。 我走到“全部”的步骤,遇到了如下问题。我不知道“没有符号”是什么意思。而且我无法理解该错误的含义(我试图找到该文件“ vecLib.tbd”,但我不知道该怎么做)。

(py2) jiaotongxuedewifi:caffe jiaoxijie$ make all
AR -o .build_release/lib/libcaffe.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_pooling_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_lcn_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_conv_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(image_data_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_tanh_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_deconv_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_softmax_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_relu_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_lrn_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(window_data_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn_sigmoid_layer.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(parallel.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: .build_release/lib/libcaffe.a(cudnn.o) has no symbols
LD -o .build_release/lib/libcaffe.so.1.0.0
ld: warning: -pie being ignored. It is only used when linking a main executable
ld: cannot link directly with /System/Library/Frameworks//vecLib.framework/vecLib.tbd for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:583: .build_release/lib/libcaffe.so.1.0.0] Error 1

其他文件已成功编译,但我在网上找不到任何类似的问题。

0 个答案:

没有答案