Why can't my c++ program find the necessary .dll file?
- by RemiX
I am trying to use OpenCV (a computer vision library), which appearently uses a few .dll files, located in C:\OpenCV\bin (which has been added to the system PATH variable). However, if I try to run a simple test program, it gives a system error: "The program can't start because highgui.dll is missing from your computer. Try reinstalling the program to fix this problem."
If I copy the highgui.dll file into the system32 folder, it works, but I don't want to have to put all the necessary .dll files in the system32 folder.
Does anyone know why the .dll file can't be found or what I should do to fix it?
(I already checked all paths in the PATH variable for validity.)