Hi,
i use these link for installation :
1-http://rodrigoberriel.com/2014/10/installing-opencv-3-0-0-on-ubuntu-14-04/
2-http://zacg.github.io/blog/2013/05/02/installing-opencv-2-dot-4-5-on-ubuntu-12-with-eclipse-cde/
3-http://rodrigoberriel.com/2014/10/using-opencv-3-0-0-with-eclipse/
BUT i have error in eclipse when compile program.
**the error in eclipse console is :**
09:44:55 **** Build of configuration Release for project Test ****
make all
Building file: ../src/Test.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/local/include/opencv2 -I/usr/local/include -I/usr/local/include/opencv -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Test.d" -MT"src/Test.d" -o "src/Test.o" "../src/Test.cpp"
Finished building: ../src/Test.cpp
Building target: Test
Invoking: GCC C++ Linker
g++ -L/usr/local/lib -o "Test" ./src/Test.o -lopencv_core\ opencv_nonfree\ 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_nonfree 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: *** [Test] Error 1
09:44:56 Build Finished (took 538ms)
***also the error in eclipse problem is:***
Description Resource Path Location Type
cannot find -lopencv_core opencv_nonfree opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_features2d opencv_calib3d opencv_objdetect opencv_contrib opencv_legacy opencv_flann Test C/C++ Problem
Many Thanks
↧