Ask Your Question

javad naderi's profile - activity

2018-04-06 08:51:20 -0500 received badge  Student (source)
2014-12-29 03:51:32 -0500 asked a question opencv in eclipse error

hi guys! I installed opencv2.4.9 according this line and test the samples program with terminal and was ok. but now I Using OpenCV with Eclipse (plugin CDT)¶ according this link but when build my project i have this error.

make all Building file: ../main.cpp Invoking: GCC C++ Compiler g++ -I/usr/local/include/opencv -I/usr/local/include -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp" Finished building: ../main.cpp

Building target: Displayimage Invoking: GCC C++ Linker g++ -L/usr/local/lib -o "Displayimage" ./main.o -lopencv_core\ \ opencv_imgproc\ \ opencv_highgui\ \ opencv_ml\ \ opencv_video\ \ opencv_features2d\ \ opencv_calib3d\ \ opencv_objdetect\ \ opencv_contrib\ \ opencv_legacy\ \ opencv_flann

/usr/bin/ld: cannot find -lopencv_core opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_features2d opencv_calib3d opencv_objdetect opencv_contrib opencv_legacy opencv_flann collect2: error: ld returned 1 exit status make: * [Displayimage] Error 1

04:04:22 Build Finished (took 811ms)

my cpu is 32bit and my ubuntu is 14.4 64bit

please help me .tnx