On 06/13/2018 04:22 AM, Gerhard Olsson wrote:
> The build works on my PC, but not on the Jenkins server running Windows
> Server 2012R2: cmake.exe: error while loading shared libraries: ?: cannot
> open shared object file: No such file or directory
>
> Any steps required to get a binary that runs on the server too?

Likely you built against a MSVC C run time library that is not installed
on the server.  You'd need to install the corresponding MSVC redist package
on that server, or build a CMake that is statically linked to the runtime.

Or, you could try a nightly binary that is already built that way:

  https://cmake.org/files/dev/?C=M;O=D

-Brad
-- 

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to