Building the OpenCV 2.2 library using CMake 1. Install CMake 2. Start the CMake GUI from Start menu 3. Select: * Where is the source code: (the directory where CMakeLists.txt in OpenCV is stored), eg: "C:\Program Files\OpenCV2.2" * Where to build the binaries: (the directory where the OpenCV library will be built), eg: "C:\Program Files\OpenCV2.2\build" 4. Press Configure and select Visual Studio 2008 or 2010 project. 5. Enter any parameters, like if you want to build Python bindings, documentation, shared libraries, use TBB, CUDA, Eigen2 libraries, etc. (Note that TBB, 64-bit and CUDA may still be under development and therefore buggy) 6. Repeat pressing Configure until no more red rows are highlighted. 7. When ready, press Generate. 8. Open the "build" directory, where you will find your VS2008 or VS2010 "sln" file. 9. Open the sln file in VS2008 or VS2010, and Built the Solution. This should compile the OpenCV 2.2 library into th