yolov5_cpp_openvino
yolov5_cpp_openvino copied to clipboard
执行make进行编译时报错,该如何解决?
nuc@nuc-NUC11PAHi5:~/Desktop/yolov5_cpp_openvino/demo/build$ make Consolidate compiler generated dependencies of target detector make[2]: *** 没有规则可制作目标“/opt/intel/openvino/deployment_tools/ngraph/lib/libngraph.so”,由“libdetector.so” 需求。 停止。 CMakeFiles/Makefile2:84: recipe for target 'CMakeFiles/detector.dir/all' failed make[1]: *** [CMakeFiles/detector.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2 #
nuc@nuc-NUC11PAHi5:~/Desktop/yolov5_cpp_openvino/demo/build$ make Consolidate compiler generated dependencies of target detector make[2]: *** 没有规则可制作目标“/opt/intel/openvino/deployment_tools/ngraph/lib/libngraph.so”,由“libdetector.so” 需求。 停止。 CMakeFiles/Makefile2:84: recipe for target 'CMakeFiles/detector.dir/all' failed make[1]: *** [CMakeFiles/detector.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2 #
可以去opt/intel文件夹看一下,应该是名字不对,我的下下来是openvino_2021,把CMakeLists.txt里的libngraph.so路径改一下可以make了
收到了,谢谢!