title: Problem in configuring opencv 2.2 on windows 7 (64-bit):
body: <p>I have windows 7 (64-bit) and I am trying to configure opencv 2.2 for Microsoft visual studio 2010, I followed the instructions given in the book  <a href="https://rads.stackoverflow.com/amzn/click/com/1849513244" rel="nofollow noreferrer" rel="nofollow noreferrer">OpenCV 2 Computer Vision Application Programming Cookbook</a> , but it’s not working, I performed the following steps: </p>
  
  <ol>
  <li>Compile opencv 2.2 using cmake,  (source code: C:/OpenCV-2.2.0, where to build binaries: C:/OpenCV-2.2.0/build)</li>
  <li>Open OpenCV.sln (which is made as a result of compiling by cmake in the folder C:\OpenCV-2.2.0\build), this is opened in visual studio, I build it (result of build: no errors, few warnings).</li>
  <li>Add new property sheet to my project, and in VC++ directories, under the “Include Directories “ I give the path of C:\OpenCV-2.2.0\include\opencv and under the “Library Directories” I give the path of my lib files i.e C:\OpenCV-2.2.0\build\lib\Debug.</li>
  <li><p>Within the linker tab under the Input, included the following Additional dependencies:</p>
  
  <p>opencv_core220d.lib</p>
  
  <p>opencv_highgui220d.lib</p>
  
  <p>opencv_features2d220d.lib</p>
  
  <p>opencv_calib3d220d.lib</p></li>
  </ol>
  
  <p>According to the instructions on the book now everything should be configured correctly, but when I include header files,(after typing (Hash)include (angle bracket)) the intellisense only gives:</p>
  
  <pre><code>#include &lt;cxcore.h&gt;
  #include &lt;cv.h&gt;
  </code></pre>
  
  <p>but instead it should had displayed </p>
  
  <pre><code>#include &lt;opencv2/core/core.hpp&gt;
  </code></pre>
  
  <p>and when I write </p>
  
  <pre><code>#include &lt;opencv2/core/core.hpp&gt;
  </code></pre>
  
  <p>it gives me error cannot open source file
      “opencv2/core/core.hpp“ , 
  if I include </p>
  
  <pre><code>#include &lt;cv.h &gt;
  </code></pre>
  
  <p>I got 11 errors:</p>
  
  <pre><code>1.  IntelliSense: cannot open source file "opencv2/core/core_c.h"   c:\opencv-    2.2.0\include\opencv\cv.h 63  1   
  
  2.  IntelliSense: cannot open source file "opencv2/core/core.hpp"   c:\opencv-2.2.0\include\opencv\cv.h 64  1   
  
  3.  IntelliSense: cannot open source file "opencv2/imgproc/imgproc_c.h" c:\opencv-2.2.0\include\opencv\cv.h 65  1   
  
  4.  IntelliSense: cannot open source file "opencv2/imgproc/imgproc.hpp" c:\opencv-2.2.0\include\opencv\cv.h 66  1   
  </code></pre>
  
  <p>[The remaining errors are similar to the above errors.]</p>
  
  <p>I have not included anything under the C/C++ -> General -> Additional Include Directories
  in the property sheet, is there any need to include anything there ???</p>
  
  <p>Can anybody please tell me, what I did wrong in the configuring process?</p>
  
  <p>Is there any guide available specifically for configuring opencv 2.2 on windows 7 (64-bit) on visual studio 2010?</p>