first I would like to state that I'm a very noob at c++. I am using to compile and run code from Features2D + Homography to find a known object tutorial, but I think I'm having trouble in linking correctly the libraries needed. I am getting this:
Invoking: GCC C++ Linker g++ -L/usr/local/lib -o "Homografia2" ./src/Homografia2.o -lopencv_core -lopencv_nonfree -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crt1.o: In function
_start': (.text+0x18): undefined reference to
main'
collect2: ld returned 1 exit status make: * [Homografia2] Error 1
**** Build Finished ****
I'm working on eclipse. Please, I really need help.