title: LNK1158 cannot run rc.exe x64 Visual Studio
body: <p>I'm trying to compile a simple program in Visual Studio for a 64-bit platform.  Upon trying to compile, I get the error:
  LINK : fatal error LNK1158: cannot run 'rc.exe'</p>
  
  <p>I've been to <em>many</em> discussion threads where it indicates to copy rc.exe and rcdll.dll from the Windows Kits folder to the VC/bin folder.  I've done this to no avail.  It occurs to me that my version of Visual Studio may just not be looking in the directory I think it's looking for this rc.exe file.  Is there a way to identify w/in Visual Studio which directory it's looking for this executable?</p>
  
  <p>(It was suggested that this problem may be a duplicate of the question and answer provided at <a href="https://stackoverflow.com/questions/9481877">Cannot compile with VC++/VS2010 targeting x64: LNK1158: cannot run cvtres.exe</a>.  However, this does not seem to be the case because, there, the path was getting corrupted by some NV services that were running on the system.  I am not having that problem as my full path shows up when I type echo %PATH%.  That being said, that link did lead me to the correct solution, given below)</p>