-
Notifications
You must be signed in to change notification settings - Fork 751
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
OpenCV dll loading order seems wrong, resulting in UnsatisifedLinkError #606
Comments
From further inspection it seems vcruntime140.dll does not require the api-ms dlls, and loads correctly, so its only the other 2 that needs to be loaded after. |
Looking through the source code inside
Should probabely be changed to:
Moving the problem dlls to the end of the preload list, instead of at the beginning. |
Should be fixed now, please try it with the snapshots: |
Latest snapshot, fixes this problem :) Thanks for the quick response! |
Fix included in version 1.4.3! Thanks again for reporting. |
When loading the dll files for opencv the loader tries to load:
before all the api-ms-win dlls, which does not work, as the former 3 depend on the later.
This results in UnsatisfiedLinkError when loading the first 3 dlls, and then later when trying to load the opencv dlls, because the former failed.
Manually installing vc runtime 2015 fixes this, but kinda defeats the purpose of having the dll's included in the first place.
Test app just tries to do the following to load the lib:
From console:
The text was updated successfully, but these errors were encountered: