I'm using CDT Eclipse IDE to build a openCV program. And this is the build output. Wthe hat can I try next to avoid the ld errors?
`make all Building file: ../YellowCircleDetect.cpp Invoking: GCC C++ Compiler g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"YellowCircleDetect.d" -MT"YellowCircleDetect.o" -o "YellowCircleDetect.o" "../YellowCircleDetect.cpp" Finished building: ../YellowCircleDetect.cpp
Building target: YellowcircleDetect Invoking: GCC C++ Linkerk g++ -L/usr/local/lib -o "YellowcircleDetect" ./YellowCircleDetect.o -lopencv_core -lopencv_legacy -lopencv_contrib -lopencv_imgproc -lopencv_highgui -lopencv_objdetect /usr/bin/x86_64-linux-gnu-ld: cannot find -lopencv_legacy /usr/bin/x86_64-linux-gnu-ld: cannot find -lopencv_contrib`