ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For anyone encountering this issue. This is how I solved mine. By using an older implementation ( ROS2 Foxy ) CMakeList.txt. In the link below.

https://github.com/ament/uncrustify_vendor/blob/foxy/CMakeLists.txt

Replace the contents of that github page into the directory

C:\dev\ros2_galactic\src\ament\uncrustify_vendor\CMakeLists.txt

and it should solve the issue and build just fine.

As Reference. Here's the error code i encountered.

Performing patch step for 'uncrustify-704034b8e9999fc2bf83be4aaf464859021a20c4' CUSTOMBUILD : error : patch failed: CMakeLists.txt:440 [C:\dev\ros2_galactic\build\uncrustify_vendor\uncrustify-704034b8e9999fc2bf83be4aaf464859021a20c4.vcxproj] CUSTOMBUILD : error : CMakeLists.txt: patch does not apply [C:\dev\ros2_galactic\build\uncrustify_vendor\uncrustify-704034b8e9999fc2bf83be4aaf464859021a20c4.vcxproj]