[CMake] MSVC++ Express 2010 and msvcp100.dll/msvcr100.dll not found
Hendrik Sattler
post at hendrik-sattler.de
Sun Sep 29 12:06:31 EDT 2013
Mojca Miklavec <mojca.miklavec.lists at gmail.com> schrieb:
>On Fri, Sep 27, 2013 at 4:08 PM, David Cole wrote:
>> The Express editions of Visual Studio do not contain the
>redistributable
>> libraries. You may build software and use it on your own computer
>with the
>> Express editions, but you are not able to create redistributable
>software
>> with it that works on other machines unless you link everything you
>need
>> statically.
>>
>> To redistribute the software you build with VS, you need to buy a
>license to
>> one of the paid editions.
>
>Thank you for the explanation.
>
>But wouldn't it then make more sense to throw a warning like
>
>"Warning: you are using a free version of Visual Studio which doesn't
>contain distributable libraries. You will only be able to run the
>binaries on your own computer. If you want to distribute the binaries
>you need to install the full version."
>
>rather than the following cryptic message?
>
> system runtime library file does not exist:
> 'MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll'
>Call Stack (most recent call first):
> cmake/modules/RootCPack.cmake:9 (include)
> CMakeLists.txt:107 (include)
>
>When I first saw the message I thought it was an error and that I
>wouldn't be able to compile the software at all.
>
>My second feature request will probably be to use a different colour
>for warnings than for errors in cmake-gui ;)
>
>Thank you,
> Mojca
>--
>
>Powered by www.kitware.com
>
>Please keep messages on-topic and check the CMake FAQ at:
>http://www.cmake.org/Wiki/CMake_FAQ
>
>Kitware offers various services to support the CMake community. For
>more information on each offering, please visit:
>
>CMake Support: http://cmake.org/cmake/help/support.html
>CMake Consulting: http://cmake.org/cmake/help/consulting.html
>CMake Training Courses: http://cmake.org/cmake/help/training.html
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Follow this link to subscribe/unsubscribe:
>http://www.cmake.org/mailman/listinfo/cmake
Hi,
what I read so far, there is no redistribution limit of the binaries compiled with visual studio express.
The cmake error can be turned off with a variable. You must then use the runtime dll installer to provide the needed dlls on other systems. OTOH, this installer is actually the way recommended by microsoft.
HS
More information about the CMake
mailing list