Latest update! Problem solved!
This happen to be one of OpenCV 2.2′s bug
In
$(OpenCV Folder)\modules\highgui\src\precomp.hpp around line 60+ replace following
#if !defined WIN32 && !defined _WIN32
#include “cvconfig.h”
#else
void FillBitmapInfo( BITMAPINFO* bmi, int width, int height, int bpp, int origin );
#endif
with
#include “cvconfig.h”
#if defined WIN32 || defined _WIN32
void FillBitmapInfo( BITMAPINFO* bmi, int width, int height, int bpp, int origin );
#endif
More info:
http://dusijun.wordpress.com/2011/01/11/opencv-unable-to-capture-image-from-isight-webcam/[
^]