OpenCV in Xcode 4.4
===

Following is my program:

    #include <cv.h>
    #include <highgui.h>
    #include <iostream>
    
    using namespace std;
    using namespace cv;
    
    int main(int argc, char** argv)
    {
        Mat image = imread("/Users/hanxu/Pictures/me.jpg", CV_LOAD_IMAGE_GRAYSCALE);
        if (!image.data) {
            cout << "Image load failed" << endl;
            return -1;
        }
    
        namedWindow("Image_Colored");
        imshow("Image_Colored", image);
        
        waitKey(0);
        return 0;
    }

An error occurred:

    /usr/local/include/opencv2/flann/lsh_table.h:196:14: Use of undeclared identifier 'use_speed_'

The code there is :

    #if USE_UNORDERED_MAP
        if (!use_speed_) buckets_space_.rehash((buckets_space_.size() + dataset.rows) * 1.2);
    #endif

Initially, Xcode does not support unordered_map, I changed "C++ Standard Library" in building setting to "with C++11 support".