InstallGuide - OpenCV Wiki页码，1/8OpenCV Installation Guide
1) If you want the stable 2.3.1 release of OpenCV, get it here for
Windows, Linux or Mac and Android.
(Or if you want the latest code being developed, get it from our
2) Install CMake and some prerequisite libraries.
(You can skip this if you just use the pre-built Visual Studio
2008/2010 binaries for Windows).
3) Use CMake to build OpenCV binaries (such as "opencv_core230.dll" or
"libopencv_core.so.2.3.0") from the source code.
(You can skip this if you use the pre-built Visual Studio 2010 binaries
4) Finally you must configure your C/C++ compiler so it knows where to
find OpenCV for your projects.
(Installation guides for popular compilers are given below).
1) Get the latest stable OpenCV version
Go to http://doc.guandang.net/projects/opencvlibrary
Windows: download the executable installation package for Windows and
run it. Note that the package is 32-bit only, and does not include TBB
support (thus you can not take advantage of multiple cores unless you are
doing threading youself at the application level). It is generally
recommended to download the source .zip package and rebuild OpenCV
from scratch using the same compiler that you use to build your applications.
Linux/MacOSX/other operating systems: download the source tarball
Android: visit the Android page and then follow the tutorial.
Or get the cutting-edge OpenCV from SourceForge SVN
If you want the newest code that is still in development, launch SVN client
and checkout either:
a.the current OpenCV snapshot from here:
b.or the latest tested OpenCV snapshot from here:
In Linux/MacOSX it can be done using the command line, e.g.: