title: error convert cv::mat to cv::arr
body: <blockquote>
    <p>I'm just trying to learn about OpenCV and i running on a x64 machine.</p>
    
    <p>I am using OpenCV 3.2.0 with VS2015 before and I try to following step
    by step tutorial from Kyle Hounslow on youtube, but i get error.</p>
    
    <p>then i reinstall using VS2013, but i still got error like below :</p>
  
  <pre><code>Error 1   error C2664: 'void cvShowImage(const char *,const CvArr *)' : cannot convert argument 2 from 'cv::Mat' to 'const CvArr *'
  Error   2 IntelliSense: no suitable conversion function from "cv::Mat" to "const CvArr *" exists
  </code></pre>
    
    <p>i already see in link below but still doesn't work for me </p>
    
    <blockquote>
      <p><a href="https://stackoverflow.com/questions/15463455/opencv-cant-compile">OpenCV can&#39;t compile</a></p>
    </blockquote>
    
    <p>i check on link below too, but i got confused</p>
    
    <blockquote>
      <p><a href="https://stackoverflow.com/questions/10269742/how-to-convert-from-cvmat-to-cvarr">how to convert from cv::Mat to CvArr?</a></p>
    </blockquote>
    
    <p>my code is like below :</p>
  
  <pre><code>#include&lt;iostream&gt;
  #include&lt;opencv\cv.h&gt;
  #include&lt;opencv2\highgui\highgui.hpp&gt;
  #include&lt;opencv2\videoio.hpp&gt;
  #include&lt;opencv2\core.hpp&gt;
  #include&lt;opencv2\imgproc\imgproc.hpp&gt;
  
  
  using namespace cv;
  
  int main()
  {
  
    Mat image;
  
    VideoCapture cap;
    cap.open(0);
  
    cvNamedWindow("window", 1);
  
    while (true)
    {
        cap &gt;&gt; image;
  
        cvShowImage("window", image);
  
        cvWaitKey(33);
    }
  
  
  }
  </code></pre>
    
    <p>please help me in that, many thanks.</p>
  </blockquote>
  
  <p>sorry, i delete the update because the original issue is already solved </p>
  
  <p>many thanks</p>