CMake-VS 2013编译检查在Docker容器内失败

CMake-VS 2013编译检查在Docker容器内失败,docker,visual-studio-2013,cmake,Docker,Visual Studio 2013,Cmake,我正在尝试使用VS2013和CMake 3.12.3来编译软件 码头集装箱。我在尝试配置项目时遇到此问题: 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: C:/wo

我正在尝试使用VS2013和CMake 3.12.3来编译软件 码头集装箱。我在尝试配置项目时遇到此问题:

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:
C:/workspace/_Sandbox_BUILD/libwcrypt/build/CMakeFiles/CMakeTmp

    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.
它抱怨cmTC_aa4a8.vcxproj这个文件。我在电视上看到的 文件系统将生成cmTC_aa4a8.vcxproj.tmp。在上面运行这个 主机按预期工作,我可以在屏幕上看到cmTC_aa4a8.vcxproj 文件系统

在C:\workspace\u Sandbox\u BUILD\libwcrypt\BUILD\cmakfiles\3.12.2\CompilerIdCXX中, 我可以看出这个项目是成功的。二进制 CompilerIdCXX.exe就在那里。只有简单的测试程序失败

这里可能有什么问题?什么CMake文件来自C:\Program 文件\CMake\share\CMake-3.12\模块可能负责创建 cmTC_aa4a8.vcxproj