64bit Opencv windows7 error 0x000007 [closed]
I have a windows7 64bit machine. I compiled and linked a small sample program with visual studio 2010 professional in 64bit debug mode. (The program runs fine in 32bit mode). It also compiles and links fine in 64 bit mode (changed the libraries to 64bit versions of OpenCV), however when i run it, it immediately returns with the 0xc000007b message, and shuts down. I have not been able to find a solution to this on the internet. what is wrong here?
Seems to me you forgot to change the path variable part x86 to x64. Also on Windows you need to restart before these path changes become active. So probably your linker finds the libs, then sends looking for the dlls, sees they are 32 bit and crashes.
Thank you very much Steven, it's working now. I didn't realize that I had to change the environment path value to the OpenCV DLLs, but in retrospect it does seem logical.