Iam having problems with dll import in c#. I created library under windows xp x32 and tried to use it on windows 7 x32. My library is using another libraries called opnecvsharp which uses dllimport to opencv libraries for c++.
Iam sure i added opencv.dlls to the same folder as executable file. I tried to run exe as admin, disable UAC, add path to dll in PATH variable, but none of those helped me.
How I can make my program see dlls ?
The error in picture shows that program doesnt see opencv dll libraries. Opencvsharp provides only dlls and no soruce file so I cannot paste here code how it is imported.
Although the error message reports that the
opencv_core220
library is missing, you are adamant that it is present in the same directory as the executable. Thus it seems likely that one of the OpenCV dependencies is failing.The most likely and plausible cause for this is the the Visual C++ redistributable package has not been installed on the target machine.