Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行make进行编译时报错,该如何解决? #22

Open
Que121 opened this issue Jan 24, 2022 · 2 comments
Open

执行make进行编译时报错,该如何解决? #22

Que121 opened this issue Jan 24, 2022 · 2 comments

Comments

@Que121
Copy link

Que121 commented Jan 24, 2022

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 #

@xyqqqfs
Copy link

xyqqqfs commented Mar 26, 2022

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了

@Que121
Copy link
Author

Que121 commented Mar 26, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants