我是openCV 3.0的新手。我按照here给出的说明安装了Eclipse cdt。现在,当我构建项目时,我得到以下结果:
18:15:16 **** Incremental Build of configuration Debug for project DisplayImage ****
make all
Building target: DisplayImage
Invoking: GCC C++ Linker
g++ -L/usr/local/lib -o "DisplayImage" ./src/DisplayImage.o -lopencv_core -lopencv_contrib -lopencv_legacy -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_flann
/usr/bin/ld: cannot find -lopencv_contrib
/usr/bin/ld: cannot find -lopencv_legacy
collect2: error: ld returned 1 exit status
make: *** [DisplayImage] Error 1
我搜索了其他库存在的/ usr / local / lib,我找不到这两个文件。我现在应该怎么做才能解决这个问题?