title: Can't Install MSVCP100.dll
body: <p>I'm using CMake to build a Qt based application of mine on Windows with Visual Studio 2010 Express. When configuring with cmake I get the following error:</p>
  
  <pre><code>System runtime library file does not exists:
  'MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcp100.dll
  
  System runtime library file does not exists:
  'MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll
  </code></pre>
  
  <p>Then when I try to compile, I'm getting this error (both trying in Visual Studio, and with msbuild):</p>
  
  <pre><code>MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
  C:\Users\Kurtis\sandbox\UDJ-Desktop-Client\build\src\Release\UDJ.exe : fatal error LNK1120: 1 unresolved externals
  </code></pre>
  
  <p>I determined that Microsoft Visual C++ 2010 Express doesn't come with the <a href="http://www.cmake.org/pipermail/cmake/2011-May/044166.html" rel="nofollow">redistributable that I need</a>. So I went to Microsoft's website to download the redistributable (both for <a href="http://www.microsoft.com/en-us/download/details.aspx?id=5555" rel="nofollow">x86</a> and <a href="http://www.microsoft.com/en-us/download/details.aspx?id=14632" rel="nofollow">x64</a>). However, after installing it, I'm still getting the above configure and compile errors. Does anyone know what I'm doing wrong, or how to fix my problem?</p>