mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Discussed on Discourse:
https://discourse.cmake.org/t/cross-compiling-from-a-windows-host-targeting-raspbian-32-bits-arm/9250
19 lines
762 B
Plaintext
19 lines
762 B
Plaintext
CMake Error at BadCompilerC.cmake:2 \(enable_language\):
|
|
The CMAKE_C_COMPILER:
|
|
|
|
no-C-compiler
|
|
|
|
is not a full path and was not found in the PATH.( Perhaps the extension is
|
|
missing\?)?
|
|
|
|
To use the NMake generator with Visual C\+\+, cmake must be run from a shell
|
|
that can use the compiler cl from the command line. This environment is
|
|
unable to invoke the cl compiler. To fix this problem, run cmake from the
|
|
Visual Studio Command Prompt \(vcvarsall.bat\).
|
|
|
|
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.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)$
|