Skip to content

Failed to load dynamic library #12

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

Closed
h1tmd opened this issue Mar 22, 2024 · 2 comments
Closed

Failed to load dynamic library #12

h1tmd opened this issue Mar 22, 2024 · 2 comments

Comments

@h1tmd
Copy link

h1tmd commented Mar 22, 2024

I have just finished compiling the dll for Windows through the README but the following error still shows up whenever I run a program;
Invalid argument(s): Failed to load dynamic library 'opencv_dart.dll': The specified module could not be found. (error code: 126)
What do I do next? How do I run it properly or add it to Flutter/Dart?

@rainyl
Copy link
Owner

rainyl commented Mar 22, 2024

Add the path of opencv_dart.dll to your PATH environment variable.

If you intend to use for a flutter project, after compiled, opencv_dart.dll should be copied to windows directory of opencv_dart, and you just need to add opencv_dart to your flutter project dependencies. see more detailes in example

@rainyl
Copy link
Owner

rainyl commented Mar 23, 2024

This is not the problem of opencv_dart itself, closing.

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