OPENCV2.2 Compiling

HI,

I made an image of Angstrom from narcissus, with OpenCV libraries. Its OpenCV 2.2 version on the new images being made these days…

Earlier I have used OpenCV 2.1 on BB and compiled natively using

g++ -ggdb -I/usr/include/opencv -lhighgui <> -o <>
g++ pkg-config opencv --cflags --libs <> -o <>

But how to compile OpenCV 2.2 … Please help me do a native compilation of OpenCV2.2 using g++

Thank you

http://opencv.willowgarage.com/wiki/InstallGuide

i'd stick with 2.1.x