Compiling the C compiler identification source file “CMakeCCompilerId.c” failed
At the same time, the console also reported an error:
— The C compiler identification is unknown
— The CXX compiler identification is unknown
— The ASM compiler identification is unknown
— Didn’t find assembler
CMake Error at CMakeLists.txt:30 (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:30 (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.
resolvent:
one
“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\ vcvarsall.bat ” x64
two
“C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ vcvarsall.bat ” x64
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags: -Aa
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags: -D__ CLASSIC_ C__
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags: –target=arm-arm-none-eabi;-mcpu=cortex-m3
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags: -Aa
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags: -D__ CLASSIC_ C__
The output was:
the system cannot find the specified file.
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: CMAKE_ C_ COMPILER-NOTFOUND
Build flags:
Id flags: –target=arm-arm-none-eabi;-mcpu=cortex-m3
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags: –c++
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags: –ec++
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags: –target=arm-arm-none-eabi;-mcpu=cortex-m3
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags: –c++
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags: –ec++
The output was:
the system cannot find the specified file.
Compiling the CXX compiler identification source file ” CMakeCXXCompilerId.cpp ” failed.
Compiler: CMAKE_ CXX_ COMPILER-NOTFOUND
Build flags:
Id flags: –target=arm-arm-none-eabi;-mcpu=cortex-m3
The output was:
the system cannot find the specified file.