This is a super common issue on here, but it seems to be the most arbitrary also. It seems that a million different things can cause it.
After running build after build in RELEASE
mode on 64 bit VS2012, I now get a opencv_core249.dll
is missing from your computer.
I have not changed my PATH
directory, I've also not changed any properties of my program. I haven't even changed any code.
Any ideas? I restarted Visual Studio but to no avail. Also, it builds in RELEASE
no problem; it just won't run. It works perfectly in DEBUG
, and another project using the exact same property sheet works no problem.
UPDATE: Copying and pasting all the necessary DLLs to the target output directory solves the problem....but surely there's a better way?