[CMake] MSVC++ Express 2010 and msvcp100.dll/msvcr100.dll not found

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Sep 29 07:50:24 EDT 2013


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


More information about the CMake mailing list