how to execute cpp opencv samples code example
Example: opencv compile c++
pkg-config --cflags --libs /path/to/opencv.pc
//to compile opencv code samples
pkg-config --cflags --libs /path/to/opencv.pc
//to compile opencv code samples