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

提示:Cannot load library #1

Closed
kwan3277 opened this issue Apr 29, 2021 · 2 comments
Closed

提示:Cannot load library #1

kwan3277 opened this issue Apr 29, 2021 · 2 comments

Comments

@kwan3277
Copy link

已下载DLL放置在\lib\cv2.res,运行时提示:

aardio:运行时错误

文件:[string "import cv2..."]
错误行号:#1
错误:import cv2 failed :

文件:...esktop\opencv_aardio-main\lib\cv2_.aardio
错误行号:#2
错误:Cannot load library '~/lib/cv2/.res/OpenCvSharpExtern.dll'.

调用栈:
[kernel]: in function 'import'
[string "import cv2..."]:1: in main chunk

确定

是不是因为DLL文件下载的不对?系统win10x64

@xuncv
Copy link
Owner

xuncv commented May 12, 2021

看提示应该是位置不对. csharp的那个项目是需要修改的,不修改的话,aardio调用比较复杂.
我改过的dll已经放到本项目的releases目录下, https://github.com/xuncv/opencv_aardio/releases
源码需改动的地方挺多的,只能慢慢改,具体细节可以关注commit日志

@kwan3277
Copy link
Author

按您的方法解决了。

@xuncv xuncv closed this as completed May 14, 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