【发布时间】:2015-09-24 01:45:45
【问题描述】:
我已经从源代码构建了 opencv 3.0,并且可以运行一些示例应用程序,针对标头进行构建,所以我认为它已成功安装。
我也在使用python3,我现在去安装和构建caffe。由于有 AMD GPU 和 Anaconda,我在使用 CPU 时在 Makefile.config 中设置了一些变量。
当我运行 make all 时,我得到了这个错误:
$ make all
CXX/LD -o .build_release/examples/cpp_classification/classification.bin
/usr/bin/ld: .build_release/examples/cpp_classification/classification.o: undefined reference to symbol '_ZN2cv6imreadERKNS_6StringEi'
//usr/local/lib/libopencv_imgcodecs.so.3.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:565: recipe for target '.build_release/examples/cpp_classification/classification.bin' failed
make: *** [.build_release/examples/cpp_classification/classification.bin] Error 1
通过搜索,我认为这与使用 openCV 3 有关,但我不确定从哪里开始寻找解决方案。有什么帮助吗?
是的,我是一群希望摆弄 Google Inception 学习技术的缺乏经验的用户之一。
【问题讨论】:
标签: c++ opencv python-3.x opencv3.0 caffe