I am trying to use OpenCV (Computer Vision Library), which seems to be using several DLL files located in C:\OpenCV\bin(which was added to the system variable PATH). However, if I try to run a simple test program, this will result in a system error:
The program cannot start because highgui.dll is missing from your computer. Try reinstalling the program to fix this problem.
If I copy the file highgui.dllto a folder system32, it works, but I do not want all the necessary .dll files to be in the folder system32.
Does anyone know why the .dll file was not found or what should I do to fix it?
(I checked all the paths in the variable PATHfor certainty.)
Remix source
share