compiling

Compiling and executing OpenCV programs written in C++

Compiling and executing C++ programs Browse to the directory of your cpp program and open a terminal in that folder. Create a CMake file name CMakeLists.txt in the same directory as your project :