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

Win10 VS2019遇到 LNK1104 无法打开文件“opencv_highgui.lib” #83

Closed
Sugarsf opened this issue Oct 27, 2021 · 2 comments
Closed

Comments

@Sugarsf
Copy link

Sugarsf commented Oct 27, 2021

在windows上安装了OpenCV 4.5.4,并且设置好了路径,但是并没有生成opencv_highgui.lib库

@DefTruth
Copy link
Owner

如果是单独安装在windows的OpenCV,可能不太适用。需要参考文档说明,下载OpenCV的dll和头文件,分别放到lite.ai.toolkit/opencv2和lite.ai.toolkit/lib中。我是用mac+clion+cmake来编译的,所以推荐CLion+cmake的方式。VS2019下编译,可以参考以下同学的讨论:

@Sugarsf
Copy link
Author

Sugarsf commented Oct 27, 2021

好的,谢谢

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