Installing Opencv With Cmake

Installing with c make
I'm currently trying to install my first program, OpenCV. I'm using this user guide to help me.
I ran the following line and successfully downloaded OpenCV:
Now I'm trying to build/install the package. The guide says I need to run this line:
However, I get the error that the command cmake is not found. There is a directory in the downloaded OpenCV files entilted cmake but I'm not sure if any of the files in there are related to my problem. I know cmake is a program to help build/install, is it possible that I don't have it?

In our case we install opencv-3.0.0.exe pre-build SDK in C: OpenCV. The installer. Click then on.

General procedure¶

  1. Start the GUI version of CMake (cmake-gui).

    ||||||||||| Please direct any questions or bugs regarding software to the company that developed the program. We are merely a software download directory and search engine of shareware, freeware programs available on the Internet. Power geez 2009 set up free download Rocket Download is not responsible for any problems that may occur from downloading or installing software that listed here.

  2. Select the folder C:OpenCVsources as the source directory.

  3. Select the folder C:OpenCVbuilds as the build directory.

  4. Enable the Grouped and Advanced checkboxes just below the build directory name. These will impact the way the packages information will be displayed in the CMake GUI in the following steps.

  5. Press the “Configure” button. A window pops up, letting you specify the compiler (and IDE) you want to use. Pick Visual Studio 10, 32-bit or 64-bit according to your Matlab version. Select also “Use default native compilers” and click Finish.

    Note

    In case you would like to redo all the steps from the beginning (if you made a mistake somewhere, for instance), you can clear CMake cache in the menu option “File > Delete Cache”.

  6. CMake will start out and based on your system variables will try to automatically locate as many packages as possible. You can modify the packages to use for the build in the WITH > WITH_X menu points (where X is the package abbreviation).

  7. Configure CMake until all the elements are found. Follow the instructions below.

    Note

    If you don’t need it, you might want to deactivate the Python module both in 32-bit and 64-bit versions since it might not build correctly.

  8. Once you are comfortable with your CMake configuration, press Generate and close CMake.

Here is an alternate version of those instructions, but it does not goes as deep in the details as this tutorial: http://seevisionc.blogspot.co.uk/2014/03/compiling-opencv-30-with-matlab-support.html.