Ah, well. Why didn&#39;t you say you were using the Express edition of MSVC 10?<br><br>There are no redistributable installation files included in the Express editions anymore, if I understand correctly.<br><br>In CMake, we do this, to avoid this warning (put code like this before including InstallRequiredSystemLibraries):<br>
<br>    # By default, do not warn when built on machines using only VS Express:<br>    IF(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS)<br>      SET(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)<br>    ENDIF()<br>
<br>Alternatively... you could enable installation of these files when one of your own CMake options is ON...<br><br>Or, use one of the commercially available non-Express editions of VS 2010.<br><br><br>HTH,<br>David<br><br>
<br><div class="gmail_quote">On Mon, May 2, 2011 at 10:44 AM, Mathieu Malaterre <span dir="ltr">&lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Dave,<br>
<br>
  Thanks for your input.<br>
<br>
Using: cmake-2.8.4.20110426-g6bb0a-win32-x86.exe<br>
<br>
Here is what I get:<br>
<div class="im"><br>
...<br>
CMake Warning at C:/Program Files/CMake<br>
</div>2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:322<br>
<div class="im">(MESSAGE):<br>
  system runtime library file does not exist:<br>
  &#39;MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcp100.dll&#39;<br>
Call Stack (most recent call first):<br>
  CMakeLists.txt:562 (INCLUDE)<br>
<br>
<br>
CMake Warning at C:/Program Files/CMake<br>
</div>2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:322<br>
<div class="im">(MESSAGE):<br>
  system runtime library file does not exist:<br>
  &#39;MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll&#39;<br>
Call Stack (most recent call first):<br>
  CMakeLists.txt:562 (INCLUDE)<br>
...<br>
<br>
</div>This is a Visual Studio Express C++ 2010 (English) installation.<br>
<br>
<br>
Thanks<br>
<div><div></div><div class="h5"><br>
On Mon, May 2, 2011 at 4:30 PM, David Cole &lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<br>
&gt; Does the same thing happen with a nightly build of CMake? (downloaded from<br>
&gt; Kitware, or based on &#39;master&#39; or &#39;next&#39;...?)<br>
&gt;<br>
&gt; Try with a recent nightly build and see if you get the same thing, please.<br>
&gt; <a href="http://cmake.org/files/dev/?C=M;O=D" target="_blank">http://cmake.org/files/dev/?C=M;O=D</a><br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt; David<br>
&gt;<br>
&gt;<br>
&gt; On Mon, May 2, 2011 at 10:21 AM, Mathieu Malaterre<br>
&gt; &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Dear all,<br>
&gt;&gt;<br>
&gt;&gt;  I keep getting this error during cmake configuration time:<br>
&gt;&gt;<br>
&gt;&gt; ...<br>
&gt;&gt; CMake Warning at C:/Program Files/CMake<br>
&gt;&gt; 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:314<br>
&gt;&gt; (MESSAGE):<br>
&gt;&gt;  system runtime library file does not exist:<br>
&gt;&gt;  &#39;MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcp100.dll&#39;<br>
&gt;&gt; Call Stack (most recent call first):<br>
&gt;&gt;  CMakeLists.txt:562 (INCLUDE)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; CMake Warning at C:/Program Files/CMake<br>
&gt;&gt; 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:314<br>
&gt;&gt; (MESSAGE):<br>
&gt;&gt;  system runtime library file does not exist:<br>
&gt;&gt;  &#39;MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll&#39;<br>
&gt;&gt; Call Stack (most recent call first):<br>
&gt;&gt;  CMakeLists.txt:562 (INCLUDE)<br>
&gt;&gt; ...<br>
&gt;&gt;<br>
&gt;&gt;  This is a cmake 2.8.4 installation on a Vista x86 , with patch<br>
&gt;&gt; 971a735ba2b4d9e4ac846722fdf280dbd0feb0d4 applied locally.<br>
&gt;&gt;<br>
&gt;&gt; Has anyone else seen this before ?<br>
&gt;&gt;<br>
&gt;&gt; Thanks for help/fix.<br>
&gt;&gt; --<br>
&gt;&gt; Mathieu<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt;&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">Mathieu<br>
</font></blockquote></div><br>