title: OpenCV inclusion error of core_c.h
body: <p>I have downloaded opencv with svn and used cmake to compile it. I have
  followed <a href="http://redkiing.wordpress.com/2010/10/03/opencv-and-visual-studio-2010-with-cmake/" rel="nofollow">this nice
  guide</a>.</p>
  
  <p>I have created my first project with basic inclusion:</p>
  
  <pre><code>#include &lt;cv.h&gt;
  #include &lt;highgui.h&gt;
  </code></pre>
  
  <p>But when I try to compile I get:</p>
  
  <pre><code>C:\Progam Files\OpenCV\include\opencv\cv.h(63): fatal error
  "opencv2/core/core_c.h" no such file or directory
  </code></pre>
  
  <p>How Can I solve this? Should I explicit set some custom include dir?  IT
  pretty strange because Cmake should have done all configuration...</p>
  
  <p>I am on <strong>Visual Studio 2010</strong> with <strong>Windows Vista</strong></p>
  
  <p>On the project properties I have added <code>"C:\Progam Files\OpenCV\include"</code> as
  include directories</p>
  
  <p>Note in <code>configuration properties-&gt;C/C++-&gt;Aditional include directories</code> there
  is already: <code>C:\Progam Files\OpenCV\include</code></p>
  
  <h2>Edit</h2>
  
  <p>It turns out cmake made the VC project with bad inclusion directory, I had to
  manually set all the</p>
  
  <pre><code>C:\Progam Files\OpenCV\modules/*/include
  </code></pre>
  
  <p>directory</p>