c++ - GCC not recognize imread in OpenCV -
I compiled and linked OpenCV project under Visual C ++ Express under Windows, Ubuntu compiled under GBC But there is a link error: finder.cpp | 219 | In reference to the undefined reference `cv :: imed (cv: string cons and int) '. I've added the library: -lopencv_calib3d -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_highgui -lopencv_imgproc -lopencv_ml -lopencv_nonfree -lopencv_objdetect -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab and for example cv: line processor is ok but imread only one error (up to now)