title: OpenCV: LINK : fatal error LNK1104: cannot open file 'opencv_haartraining_engined.lib'
body: <p>I'm new to OpenCV and I've tried some troubleshooting with trying to get my headers to compile but keep running into Linker Errors.</p>
  
  <p>Here is the code I want to run:</p>
  
  <pre><code>//Visual Studio
  #include "stdafx.h"
  #include &lt;stdio.h&gt;
  #include &lt;iostream&gt;
  #include &lt;fstream&gt;
  #include &lt;vector&gt;
  #include &lt;math.h&gt;
  
  //LabView
  //#include &lt;NIVision.h&gt;
  
  //Opencv 
  #include &lt;opencv/cv.h&gt;
  #include &lt;opencv/highgui.h&gt;
  #include "opencv2/opencv.hpp"
  #include "opencv2/gpu/gpu.hpp"
  </code></pre>
  
  <p>And Here is the Errors I'm getting:</p>
  
  <pre><code>1&gt;------ Rebuild All started: Project: Veni_Main, Configuration: Debug Win32 ------
  1&gt;  stdafx.cpp
  1&gt;  Veni_Main.cpp
  1&gt;c:\opencv\build\include\opencv2\flann\logger.h(66): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  1&gt;          c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(234) : see declaration of 'fopen'
  1&gt;LINK : fatal error LNK1104: cannot open file 'opencv_haartraining_engined.lib'
  ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
  </code></pre>
  
  <p>I've already added the correct paths for the environmental variables and such. Please advise!</p>