uncrustify_vendor fails compiling [closed]
It seems an issue relate to the compiler environment. if so, how to set and verify this env. thanks!
-- Found ament_cmake: 1.1.4 (C:/dev/ros2_galactic/install/share/ament_cmake/cmake)
-- Using PYTHON_EXECUTABLE: C:/Python38/python.exe
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dev/ros2_galactic/build/uncrustify_vendor
Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Performing configure step for 'uncrustify-45b836cff040594994d364ad6fd3f04adc890a26'
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "C:/dev/ros2_galactic/build/uncrustify_vendor/uncrustify-45b836cff040594994d364ad6fd3f04adc890a26-prefix/src/uncrustify-45b836cff040594994d364ad6fd3f04adc890a26-build/CMakeFiles/CMakeOutput.log".
See also "C:/dev/ros2_galactic/build/uncrustify_vendor/uncrustify-45b836cff040594994d364ad6fd3f04adc890a26-prefix/src/uncrustify-45b836cff040594994d364ad6fd3f04adc890a26-build/CMakeFiles/CMakeError.log".
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\dev\ros2_galactic\build\uncrustify_vendor\CMakeFiles\2fbc8479d7de2e08ea68ace6d588ec0c\uncrustify-45b836cff040594994d364ad6fd3f04adc890a26-configure.rule;C:\dev\ros2_galactic\build\uncrustify_vendor\CMakeFiles\2fbc8479d7de2e08ea68ace6d588ec0c\uncrustify-45b836cff040594994d364ad6fd3f04adc890a26-build.rule;C:\dev\ros2_galactic\build\uncrustify_vendor\CMakeFiles\2fbc8479d7de2e08ea68ace6d588ec0c\uncrustify-45b836cff040594994d364ad6fd3f04adc890a26-install.rule;C:\dev\ros2_galactic\build\uncrustify_vendor\CMakeFiles\b531ce0ba034916765477855d147abd8\uncrustify-45b836cff040594994d364ad6fd3f04adc890a26-complete.rule;C:\dev\ros2_galactic\build\uncrustify_vendor\CMakeFiles\38f6b4bb05a426b2c4a37cf28048e13f\uncrustify-45b836cff040594994d364ad6fd3f04adc890a26.rule;C:\dev\ros2_galactic\src\ament\uncrustify_vendor\CMakeLists.txt' exited with code 1. [C:\dev\ros2_galactic\build\uncrustify_vendor\uncrustify-45b836cff040594994d364ad6fd3f04adc890a26.vcxproj]