我已经从源代码构建了opencv 3.0,并可以运行一些示例应用程序,针对头文件进行了构建,因此我认为它已经成功安装。
我还使用python3,现在要安装和构建caffe。由于拥有AMD GPU和Anaconda,我在Makefile.config中设置了几个变量,因此我正在使用CPU。
当我运行make all时,我得到以下错误:
我还使用python3,现在要安装和构建caffe。由于拥有AMD GPU和Anaconda,我在Makefile.config中设置了几个变量,因此我正在使用CPU。
当我运行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有关,但我不确定从哪里开始寻找解决方案。需要帮助吗?
是的,我是众多缺乏经验的用户之一,想要尝试谷歌Inception学习技术。