title: OpenCV error: “LINK : fatal error LNK1104: cannot open file 'opencv_core300d.lib' ”
body: <p>I'm trying to compile a simple code in visual studio + opencv, but got this error.</p>
  
  <p>Code:</p>
  
  <pre><code>#include &lt;cstdio.h&gt;
  #include &lt;opencv2\opencv.hpp&gt;
  
  void main(){  
     std::cout&lt;&lt;CV_VERSION;
  }
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>error LNK1104: cannot open file 'opencv_core300d.lib'
  error MSB6006: "link.exe" exited code1104.
  </code></pre>