title: Visual Studio 2013 LINK : fatal error LNK1181: cannot open input file
body: <p>I am using Visual Studio 2013.  I'm trying to build some code given to me from my professor and I keep getting this error: </p>
  
  <blockquote>
    <p>LINK : fatal error LNK1181: cannot open input file
    'C:\Users\manduchi\Documents\eyegaze\EyeGazeDemo..\Libraries\OpenCV\lib\opencv_core249.lib'</p>
  </blockquote>
  
  <p>However, on my computer opencv_core249.lib is located somewhere else. I've tried updating the linker directories to the address on my computer, but I continue getting the error.</p>
  
  <p>Here was my attempt: </p>
  
  <ul>
  <li>Under Configuration Properties-> VC++ Directories, I added the address of the folder enclosing the .lib file in Include Directories and in Library Directories. </li>
  <li>Linker-> General and added an additional library directory there as well. </li>
  <li>Linker-> Input and added "opencv_core249.lib" to additional dependencies</li>
  </ul>
  
  <p>I'm new to Visual Studio and C++, so I might have done it incorrectly? </p>
  
  <h2>More info:</h2>
  
  <ul>
  <li>I'm doing this on my Windows 7 Bootcamp</li>
  <li>the code is on a USB stick because I don't have enough space on my
  bootcamp partition.</li>
  </ul>
  
  <p>Any help would be appreciated! Thanks</p>
  
  <h1>Update</h1>
  
  <h2>Updated Error Message</h2>
  
  <blockquote>
    <p>LINK : fatal error LNK1181: cannot open input file
    'opencv_calib3d300.lib'</p>
  </blockquote>
  
  <p>I think 'opencv_calib3d300.lib' is on the Linker->input->Additional Dependencies under inherited values.</p>
  
  <h2>Linker Command Line</h2>
  
  <p>/OUT:"debug\EyeGazeDemo.exe" /MANIFEST /NXCOMPAT /PDB:"debug\EyeGazeDemo.pdb" /DYNAMICBASE "glu32.lib" "opengl32.lib" "gdi32.lib" "user32.lib" "opencv_ts300.lib" "opencv_ts300d.lib" "opencv_world300.lib" "opencv_world300d.lib" "E:\Qt\5.0.2\msvc2012_64\lib\qtmaind.lib" "E:\Qt\5.0.2\msvc2012_64\lib\Qt5Cored.lib" "E:\Qt\5.0.2\msvc2012_64\lib\Qt5Widgetsd.lib" "E:\Qt\5.0.2\msvc2012_64\lib\Qt5Guid.lib" "opencv_calib3d300.lib" "opencv_contrib300.lib" "opencv_core300.lib" "opencv_features2d300.lib" "opencv_flann300.lib" "opencv_gpu300.lib" "opencv_highgui300.lib" "opencv_imgproc300.lib" "opencv_legacy300.lib" "opencv_ml300d.lib" "opencv_nonfree300d.lib" "opencv_objdetect300d.lib" "opencv_ocl300d.lib" "opencv_photo300d.lib" "opencv_stitching300d.lib" "opencv_superres300d.lib" "opencv_video300d.lib" "opencv_videostab300d.lib" "kernel32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "OpenCVConfig.cmake" "OpenCVModules.cmake" "OpenCVModules-debug.cmake" "OpenCVModules-release.cmake" "E:\eyegaze\eyegaze\Libraries\OpenCV\lib\opencv_core249d.lib" "E:\eyegaze\eyegaze\Libraries\OpenCV\lib\opencv_imgproc249d.lib" "E:\eyegaze\eyegaze\Libraries\OpenCV\lib\opencv_highgui249d.lib" "E:\eyegaze\eyegaze\Libraries\OpenCV\lib\opencv_objdetect249d.lib" "E:\eyegaze\eyegaze\Libraries\OpenCV\lib\opencv_ml249d.lib" "E:\eyegaze\eyegaze\Libraries\Intraface\lib\IntraFaceDLL-x86d.lib" /DEBUG /MACHINE:X86 /SAFESEH /INCREMENTAL:NO /PGD:"debug\EyeGazeDemo.pgd" /SUBSYSTEM:WINDOWS /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"Win32\Debug\EyeGazeDemo.exe.intermediate.manifest" /ERRORREPORT:PROMPT /NOLOGO /LIBPATH:"C:\opencv\build\x64\vc12\x64\vc11\lib" /LIBPATH:"E:\Qt\5.0.2\msvc2012_64\lib" /LIBPATH:"E:\eyegaze\eyegaze\Libraries\OpenCV\lib" /LIBPATH:"E:\eyegaze\eyegaze\Libraries\Intraface\lib" /LIBPATH:"E:\eyegaze\eyegaze\EyeGazeDemo" /LIBPATH:"C:\opencv\build\x64\vc12\lib" /TLBID:1 </p>