Update Opencv 2.3 on Ubuntu 12.04
run with this command
$ g++ hello.cpp -o hello pkg-config --cflags --libs opencv
http://stackoverflow.com/questions/7781302/opencv-on-ubuntu-11-10
How to config Eclipse
Ref: jestinstoffel.com/?q=node/112
Shell script file “gcv”
g++ $1 -I/usr/include/opencv -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
alias gcv=”bash /home/jack/gcv”
note: cannot used -o for this solution.
OpenCV 2.3: in file ‘/usr/include2/core/internal.hpp’, it have to add 2 lines
#include “types_c.h”
#include “core.hpp”
to fix the error