title: Xcode and OpenCV
body: <p>I am trying to compile a C++ project that uses OpenCV in Xcode 6.2. I have downloaded OpenCV and the header and library files and setting as follow:
  Header Search Path: /usr/local/include/opencv2**
  Library Search Path:/usr/local/lib
  and opencv is truly in this Path,but I get error:</p>
  
  <hr>
  
  <p>Lexical or Preprocessor Issue
  /Users/radio_lee/Desktop/project/OpenCV/OpenCV/main.cpp:1:10: 'cv.h' file not found</p>
  
  <hr>
  
  <p>when I change the Header Search Path and Library Search Path like that:
  Header Search Path: 
  /usr/local/include/opencv2**  and /usr/local/include/opencv
  Library Search Path:/usr/local/lib</p>
  
  <p>another error:</p>
  
  <hr>
  
  <p>Lexical or Preprocessor Issue /usr/local/include/opencv/cv.h:63:10: 'opencv2/core/core_c.h' file not found</p>
  
  <p>/Users/radio_lee/Desktop/project/OpenCV/OpenCV/main.cpp:1:10: In file included from /Users/radio_lee/Desktop/project/OpenCV/OpenCV/main.cpp:1:</p>
  
  <hr>