Ask Your Question

Revision history [back]

The Windows installation tutorial I linked to in my question is out of date. Here's a modified set of instructions.

  • Extract the OpenCV files by running the OpenCV .exe (a self-extracting 7-zip file) to a directory where you'd like them to live.
  • Set the OPENCV_DIR as described in the Windows install instructions to point at the top of the OpenCV directory structure.
  • Set the path to point to the pre-built DLLs. They're in the opencv\build[xNN][compiler]\bin directory, where [xNN] is x86 for 32-bit applications or x64 for 64-bit applications, and [compiler] is mingw (for MinGW), vc9 (for Visual Studio 2008) or vc10 (for Visual Studio 2010).

If I were installing to the D: drive to write applications for 64-bit Windows using Visual Studio 2010, I'd set OPENCV_DIR to be D:\opencv and I'd add D:\opencv\build\x64\vc10\bin to my path.

I still don't know what's up with the MD5 hash, though.

click to hide/show revision 2
Fixed missing backslashes in path to the pre-built DLLs.

The Windows installation tutorial I linked to in my question is out of date. Here's a modified set of instructions.

  • Extract the OpenCV files by running the OpenCV .exe (a self-extracting 7-zip file) to a directory where you'd like them to live.
  • Set the OPENCV_DIR as described in the Windows install instructions to point at the top of the OpenCV directory structure.
  • Set the path to point to the pre-built DLLs. They're in the opencv\build[xNN][compiler]\bin opencv\build\[xNN]\[compiler]\bin directory, where [xNN] is x86 for 32-bit applications or x64 for 64-bit applications, and [compiler] is mingw (for MinGW), vc9 (for Visual Studio 2008) or vc10 (for Visual Studio 2010).

If I were installing to the D: drive to write applications for 64-bit Windows using Visual Studio 2010, I'd set OPENCV_DIR to be D:\opencv and I'd add D:\opencv\build\x64\vc10\bin to my path.

I still don't know what's up with the MD5 hash, though.