

It will also allow an easy configuration of the OpenCV build files, in order to make binary files that fits exactly to your needs. CMake, which is a neat tool to make the project files (for your chosen IDE) from the OpenCV source files.However, you can use any other IDE that has a valid CC++ compiler. Here we will use the Microsoft Visual Studio. An IDE of choice (preferably), or just a CC++ compiler that will actually make the binary files.If you are building your own libraries you can take the source files from our Git repository.īuilding the OpenCV library from scratch requires a couple of tools installed beforehand: Be careful, since solutions described in those videos are no longer supported and may even break your install. These videos above are long-obsolete and contain inaccurate information. You can check the installation at the chosen path as you can see below. Choose a build you want to use and download it.Launch a web browser of choice and go to our page on Sourceforge.Installation by Using the Pre-built Libraries

While the first one is easier to complete, it only works if you are coding with the latest Microsoft Visual Studio IDE and do not take advantage of the most advanced technologies we integrate into our library. Note To use the OpenCV library you have two options: Installation by Using the Pre-built Libraries or Installation by Making Your Own Libraries from the Source Files. If you encounter errors after following the steps described below, feel free to contact us via our OpenCV Q&A forum. Nevertheless, it should also work on any other relatively modern version of Windows OS. The description here was tested on Windows 7 SP1. Warning This tutorial can contain obsolete information.
#Windows cmake command not found how to#
Next Tutorial: How to build applications with OpenCV inside the "Microsoft Visual Studio" Prev Tutorial: Using OpenCV with Eclipse (plugin CDT)
