Ah, well. Why didn'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"><<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>></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>
'MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcp100.dll'<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>
'MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll'<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 <<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<br>
> Does the same thing happen with a nightly build of CMake? (downloaded from<br>
> Kitware, or based on 'master' or 'next'...?)<br>
><br>
> Try with a recent nightly build and see if you get the same thing, please.<br>
> <a href="http://cmake.org/files/dev/?C=M;O=D" target="_blank">http://cmake.org/files/dev/?C=M;O=D</a><br>
><br>
><br>
> Thanks,<br>
> David<br>
><br>
><br>
> On Mon, May 2, 2011 at 10:21 AM, Mathieu Malaterre<br>
> <<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>> wrote:<br>
>><br>
>> Dear all,<br>
>><br>
>> I keep getting this error during cmake configuration time:<br>
>><br>
>> ...<br>
>> CMake Warning at C:/Program Files/CMake<br>
>> 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:314<br>
>> (MESSAGE):<br>
>> system runtime library file does not exist:<br>
>> 'MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcp100.dll'<br>
>> Call Stack (most recent call first):<br>
>> CMakeLists.txt:562 (INCLUDE)<br>
>><br>
>><br>
>> CMake Warning at C:/Program Files/CMake<br>
>> 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:314<br>
>> (MESSAGE):<br>
>> system runtime library file does not exist:<br>
>> 'MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll'<br>
>> Call Stack (most recent call first):<br>
>> CMakeLists.txt:562 (INCLUDE)<br>
>> ...<br>
>><br>
>> This is a cmake 2.8.4 installation on a Vista x86 , with patch<br>
>> 971a735ba2b4d9e4ac846722fdf280dbd0feb0d4 applied locally.<br>
>><br>
>> Has anyone else seen this before ?<br>
>><br>
>> Thanks for help/fix.<br>
>> --<br>
>> Mathieu<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the CMake FAQ at:<br>
>> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">Mathieu<br>
</font></blockquote></div><br>