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