VS 2013 compiler check fails inside Docker image

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

VS 2013 compiler check fails inside Docker image

CMake mailing list

I am trying to compile software using VS 2013 with CMake 3.12.3 inside a
Docker container. I encountered this issue when I try to configure projects:

The C++ compiler

    "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir:

    Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_aa4a8.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
    Microsoft (R) Build Engine version 12.0.30723.0
    [Microsoft .NET Framework, version 4.0.30319.42000]
    Copyright (C) Microsoft Corporation. All rights reserved.

    MSBUILD : error MSB1009: Project file does not exist.
    Switch: cmTC_aa4a8.vcxproj

  CMake will not be able to correctly generate this project.

It complains about cmTC_aa4a8.vcxproj this files. I saw that on the
filesystem it gets generated cmTC_aa4a8.vcxproj.tmp instead. Running this on
the host machine works as expected and I can see cmTC_aa4a8.vcxproj on the

I can see that this project was built successfully. The binary
CompilerIdCXX.exe is there. The simple test program fails.

What could be the issue here? What CMake file from C:\Program
Files\CMake\share\cmake-3.12\Modules is responsible for creating
cmTC_aa4a8.vcxproj ?

Sent from: http://cmake.3232098.n2.nabble.com/

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: