title: 'cl' is not recognized as an internal or external, vcvarsall
body: <p>I've been trying to install Boost Libraries for 5 months now, yes very embarrassing, and currently this is the error I run into.</p>
  
  <p>I am running this on Windows 7, 64 bit. Boost 1_59_0.</p>
  
  <p>I used the Visual Studio 2013 x64 Native prompt to go to the boost directory and ran</p>
  
  <pre><code>bootstrap.bat
  </code></pre>
  
  <p>and then</p>
  
  <pre><code>b2 --toolset=msvc --build-type=complete architecture=x86 address-model=64 stage
  </code></pre>
  
  <p>However I get the error</p>
  
  <p>'cl' is not recognized as an internal or external command</p>
  
  <p>Following <a href="https://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx" rel="nofollow noreferrer">this</a>, I ran </p>
  
  <pre><code>vsvarsall amd64
  </code></pre>
  
  <p>from</p>
  
  <pre><code>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC
  </code></pre>
  
  <p>I went back and tried running b2 again but I got the same error as before.</p>
  
  <p>I searched for "cl.exe" on my laptop and I found it here:</p>
  
  <pre><code>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
  
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64
  
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_arm
  
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64
  
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64_arm
  
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64_x86
  
  C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin
  
  C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64
  
  C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_arm
  
  C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin
  </code></pre>
  
  <p>I understand that 'b2' is unable to find 'cl' and I have to give the 'path' to the 'cl.exe' but I don't know how to set path, what to type where etc. I thought that 'vsvarsall' was supposed to fix this but it didn't.</p>
  
  <p>Please help.</p>
  
  <p>EDIT 1:</p>
  
  <p>I set path following the instructions given in the comments, but I am still getting the same errors.</p>
  
  <p><a href="https://i.stack.imgur.com/LIX1o.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LIX1o.jpg" alt="enter image description here"></a></p>