<tfoot id='TQ8UB'></tfoot>
      1. <legend id='TQ8UB'><style id='TQ8UB'><dir id='TQ8UB'><q id='TQ8UB'></q></dir></style></legend>

      2. <i id='TQ8UB'><tr id='TQ8UB'><dt id='TQ8UB'><q id='TQ8UB'><span id='TQ8UB'><b id='TQ8UB'><form id='TQ8UB'><ins id='TQ8UB'></ins><ul id='TQ8UB'></ul><sub id='TQ8UB'></sub></form><legend id='TQ8UB'></legend><bdo id='TQ8UB'><pre id='TQ8UB'><center id='TQ8UB'></center></pre></bdo></b><th id='TQ8UB'></th></span></q></dt></tr></i><div id='TQ8UB'><tfoot id='TQ8UB'></tfoot><dl id='TQ8UB'><fieldset id='TQ8UB'></fieldset></dl></div>

        <small id='TQ8UB'></small><noframes id='TQ8UB'>

          <bdo id='TQ8UB'></bdo><ul id='TQ8UB'></ul>

        CMake 找不到 Visual C++ 编译器

        CMake does not find Visual C++ compiler(CMake 找不到 Visual C++ 编译器)

        1. <i id='bxfxK'><tr id='bxfxK'><dt id='bxfxK'><q id='bxfxK'><span id='bxfxK'><b id='bxfxK'><form id='bxfxK'><ins id='bxfxK'></ins><ul id='bxfxK'></ul><sub id='bxfxK'></sub></form><legend id='bxfxK'></legend><bdo id='bxfxK'><pre id='bxfxK'><center id='bxfxK'></center></pre></bdo></b><th id='bxfxK'></th></span></q></dt></tr></i><div id='bxfxK'><tfoot id='bxfxK'></tfoot><dl id='bxfxK'><fieldset id='bxfxK'></fieldset></dl></div>

          <small id='bxfxK'></small><noframes id='bxfxK'>

            <bdo id='bxfxK'></bdo><ul id='bxfxK'></ul>
            • <tfoot id='bxfxK'></tfoot>

                  <legend id='bxfxK'><style id='bxfxK'><dir id='bxfxK'><q id='bxfxK'></q></dir></style></legend>

                    <tbody id='bxfxK'></tbody>

                  本文介绍了CMake 找不到 Visual C++ 编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在之前的项目上安装 Visual Studio 2015 并运行 CMake 后,CMake 错误表明它找不到 C 编译器.

                  After installing Visual Studio 2015 and running CMake on a previous project, CMake errors stating that it could not find the C compiler.

                  The C compiler identification is unknown
                  The CXX compiler identification is unknown
                  CMake Error at CMakeLists.txt:4 (PROJECT):
                    No CMAKE_C_COMPILER could be found.
                  
                  CMake Error at CMakeLists.txt:4 (PROJECT):
                    No CMAKE_CXX_COMPILER could be found.
                  

                  我在 Visual Studio 文件夹 C:Program FilesMicrosoft Visual Studio 14.0 中搜索 cl.exe,但没有找到.

                  I went searching for cl.exe in the Visual Studio folder,C:Program FilesMicrosoft Visual Studio 14.0, and could not find it.

                  如何使用 Visual Studio 2015 设置 CMake 以在 Windows 上工作?

                  How do I set up CMake to work on Windows with Visual Studio 2015?

                  推荐答案

                  我找到了解决方案.虽然 Visual Studio IDE 安装成功,但它没有安装任何构建工具,因此没有安装 C++ 编译器.

                  I have found the solution. While the Visual Studio IDE installed successfully it did not install any build tools and therefore did not install the C++ compiler.

                  尝试手动在 Visual Studio 2015 GUI 中创建 C++ 项目 我能够提示它下载 C++ 包.然后 CMake 能够毫无困难地找到编译器.

                  By attempting to manually create a C++ project in the Visual Studio 2015 GUI I was able to prompt it to download the C++ packages. CMake was then able to find the compiler without any difficulty.

                  这篇关于CMake 找不到 Visual C++ 编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What is inside .lib file of Static library, Statically linked dynamic library and dynamically linked dynamic library?(静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么?)
                  How do I load a C DLL from the SXS in Python?(如何从 Python 中的 SXS 加载 C DLL?)
                  Can Cython code be compiled to a dll so C++ application can call it?(Cython 代码可以编译成 dll 以便 C++ 应用程序可以调用它吗?)
                  Delay Loading DLLs(延迟加载 DLL)
                  Throwing C++ exceptions across DLL boundaries(跨 DLL 边界抛出 C++ 异常)
                  Loading a dll from a dll?(从 dll 加载 dll?)
                    <bdo id='7G3px'></bdo><ul id='7G3px'></ul>

                      • <legend id='7G3px'><style id='7G3px'><dir id='7G3px'><q id='7G3px'></q></dir></style></legend>

                      • <small id='7G3px'></small><noframes id='7G3px'>

                            <tbody id='7G3px'></tbody>
                          <tfoot id='7G3px'></tfoot>

                          <i id='7G3px'><tr id='7G3px'><dt id='7G3px'><q id='7G3px'><span id='7G3px'><b id='7G3px'><form id='7G3px'><ins id='7G3px'></ins><ul id='7G3px'></ul><sub id='7G3px'></sub></form><legend id='7G3px'></legend><bdo id='7G3px'><pre id='7G3px'><center id='7G3px'></center></pre></bdo></b><th id='7G3px'></th></span></q></dt></tr></i><div id='7G3px'><tfoot id='7G3px'></tfoot><dl id='7G3px'><fieldset id='7G3px'></fieldset></dl></div>