run pip install numpy pyyaml mkl mkl-include setuptools cmake cffi typing. run git submodule update -init -recursive. Link to one of the git projects Im trying to compile:īy the way, I tried the same with VS 2015 previously.Ĭontent of the CMakeLists file: cmake_minimum_required(VERSION 2. Installed VS 2017 15.9.9 Community with checking: Windows 10 SDK (10.0 16299.0) for Desktop C++ x86 i 圆4 Version 14.11 of toolset for version 15.4 of VC++ 2017. in my case, it was Visual Stuon windows 10. the one that is installed on your machine. With "CodeBlocks - MinGW Makefiles" I get the same as above. Selecting The right version of Visual Studio from the drop-down list, I.e. Sadly the popup error messages are in german even though I've set everything in Win10 to english so I dont know what they say exactly. With "MinGW Makefiles" selected I get a cc1.exe errors about a bunch of ddls. Studio/2017/Community/VC/Tools/MSVC/7/bin/Hostx86/x86/cl.exe has The compiler C:/Program Files (x86)/Microsoft Visual Performing Test COMPILER_SUPPORTS_CXX0X - FailedĬMake Error at CMakeLists.txt:26 (message): Performing Test COMPILER_SUPPORTS_CXX11 - Failed The CXX compiler identification is MSVC 5.0Ĭheck for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/7/bin/Hostx86/x86/cl.exeĬheck for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/7/bin/Hostx86/x86/cl.exe - worksĬheck for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/7/bin/Hostx86/x86/cl.exeĬheck for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/7/bin/Hostx86/x86/cl.exe - works ![]() ![]() With "Visual Stuselected I get this error: The C compiler identification is MSVC 5.0 Operating System: WindAMD64 CMake Version: 3.17.3 VSCode Version: 1.46.1 CMake Tools Extension Version: 1.41 Compiler/Toolchain: MSVC 9.01/Visual Studio 2010 9.1 SP1 Other Notes/Information. C compiler identification is unknown despite setting CC and CXX variables. Using CMake 3.17.3 on Windows 10 and Visual Studio 2017 I have failed to override CMAKECXXCOMPILER in multiple ways. CMake cannot identify C compiler from installed Visual Studio 2015. Is there a way to specify a custom compiler on Windows 10 using Visual Studio 2017, and not use the one inside the VS2017 installation Below are my attempts to do so. Asking for help, clarification, or responding to other answers. Keep in mind I have not used CMake before. Cmake Visual Studio 2015 Identification Unknown. Thanks for contributing an answer to Stack Overflow Please be sure to answer the question.Provide details and share your research But avoid. I have Visual Studio 2017 Community, MinGW and CodeBlocks installed and CMake throws an error with all of them. ![]() I'm trying to compile two different git projects via CMake.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |