...
LIBS='-lopencv_video -lopencv_calib3d -lopencv_objdetect -lopencv_imgproc '
...
OPENCV_LIBS='-L/usr/local/lib -lopencv_dnn -lopencv_ml -lopencv_objdetect -lopencv_shape -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_video -lopencv_photo -lopencv_imgproc -lopencv_flann -lopencv_core'
...
So, if i'm not underlinking, is there a way for me to see if its actually a header/library mismatch? There are no complains when it's compiling.