Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
Windows
Cmakebuilder: 4.1.1
Description
C:\Users\user\AppData\Local\Jenkins\.jenkins\workspace\project>call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.11.16 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' [build] $ C:\Users\user\AppData\Local\Jenkins\.jenkins\tools\hudson.plugins.cmake.CmakeTool\3.23.2\bin\cmake -G Ninja -D CMAKE_BUILD_TYPE=Release C:\Users\user\AppData\Local\Jenkins\.jenkins\workspace\project -- The C compiler identification is unknown -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:8 (project): No CMAKE_C_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. CMake Error at CMakeLists.txt:8 (project): No CMAKE_CXX_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
Cmake have to access enviroment initialized by vcvars but it cannot
Attachments
Issue Links
- duplicates
-
JENKINS-29142 look for MSVC 15.x toolchain
-
- Closed
-