Download the pre-complied zip file from the official website, extract to anywhere you like, e.g.If you use the application downloaded directly, use Tools->Install For Command Line Use menu item.The best way to get CMake is to use package manager, whatever apt-get, yum.If you use a msi-installer on Windows, be sure to let installer add CMake to the PATH.You can skip this step if you have CMake and OpenCV installed. Hopefully this script will save the waste-of-time useless steps in order to bootstrap a OpenCV project. It is even more frustrating in Visual Studio, where you have to figure out the different link targets according to OpenCV version and debug/release mode. WhyĬonfig OpenCV correctly is a trivial but complicated work, even an expert on this area may take a while and googling around to be able to set up all the include directories and link targets. With OpenCV-Bootstrap, one can create a valid project in just a few seconds if prerequisites are already satisfied. This is a CMake powered bootstrap project for everyone who need to set up OpenCV C++ environment. Add Eclipse CDT generator on unix-like systems.Release version for windows is now available! One can use the tool without having to download and install CMake.
Set up OpenCV c++ project in a few seconds, good for Visual Studio projects in Windows/Mac OS X/Linux, etc