hoangdangninh
2/14/2017 - 7:37 PM

From http://stackoverflow.com/questions/3122448/where-does-opencv-install-its-libs-in-ubuntu

# library links
pkg-config --libs opencv

# include header links
pkg-config --cflags opencv.

# check version of opencv
pkg-config --modversion opencv