Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. Unfortunately you do not provide a specific error message or bad behaviour. The description is rather unclear as you keep complaining about the effect. Are there any reproducable steps to get "that effect"?
  2. It does not matter which kind of process (32-bit, 64-bit) Visual Studio or Windows is. It only matters whether you compile your program with the x86 or the x64 toolchain. You must link against the corresponding OpenCV DLLs.
  3. Double-check that you only link against debug DLLs in debug mode and you only link against release DLLs in release mode.
  4. Your step 3: "Add C:\OpenCV\build\x86\vc10\bin folder to SYSTEM PATH." sounds dangerous to me. Not by itself (that's fairly standard) but only because of the described behaviour. You might override some important DLLs with those within that folder. Omit that step. Compile OpenCV with your desired architecture and copy the resulting OpenCV Dlls in that folder where your program's exe is.
  5. If the problem persists: Copy your Project, the entire solution, the code and the OpenCV DLLs to another machine. Check (recompile if necessary) if the problem is present there too. If not, you might want to get a fresh reinstall of your OS.
  1. Unfortunately you do not provide a specific error message or bad describe a specific behaviour. The description is rather unclear as you keep complaining about the effect. Are there any reproducable steps to get "that effect"?
  2. It does not matter which kind of process (32-bit, 64-bit) Visual Studio or Windows is. It only matters whether you compile your program with the x86 or the x64 toolchain. You must link against the corresponding OpenCV DLLs.
  3. Double-check that you only link against debug DLLs in debug mode and you only link against release DLLs in release mode.
  4. Your step 3: "Add C:\OpenCV\build\x86\vc10\bin folder to SYSTEM PATH." sounds dangerous to me. Not by itself (that's fairly standard) but only because of the described behaviour. You might override some important DLLs with those within that folder. Omit that step. Compile OpenCV with your desired architecture and copy the resulting OpenCV Dlls in that folder where your program's exe is.
  5. If the problem persists: Copy your Project, the entire solution, the code and the OpenCV DLLs to another machine. Check (recompile if necessary) if the problem is present there too. If not, you might want to get a fresh reinstall of your OS.