You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E:\June1\spdm-emu\build>cmake -G"NMake Makefiles" -DARCH=x64 -DTOOLCHAIN=CLANG -DTARGET=Release -DCRYPTO=mbedtls ..
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
The CMAKE_C_COMPILER:
cl
is not a full path and was not found in the PATH.
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.
-- Configuring incomplete, errors occurred!
See also "E:/June1/spdm-emu/build/CMakeFiles/CMakeOutput.log".
See also "E:/June1/spdm-emu/build/CMakeFiles/CMakeError.log".
Any help is appreciated.
The text was updated successfully, but these errors were encountered:
Hi @PrakashK94. The solution is same with DMTF/libspdm#2089.
Please add the LLVM path such as C:\LLVM\bin in the environment for CLANG build on Windows.
The build will pass. Thanks.
Getting following error,
E:\June1\spdm-emu\build>cmake -G"NMake Makefiles" -DARCH=x64 -DTOOLCHAIN=CLANG -DTARGET=Release -DCRYPTO=mbedtls ..
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
The CMAKE_C_COMPILER:
is not a full path and was not found in the PATH.
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.
-- Configuring incomplete, errors occurred!
See also "E:/June1/spdm-emu/build/CMakeFiles/CMakeOutput.log".
See also "E:/June1/spdm-emu/build/CMakeFiles/CMakeError.log".
Any help is appreciated.
The text was updated successfully, but these errors were encountered: