While working on the ROS2 Basics in 5 Days Course (C++), for section 4.8, I created executor_example_5.cpp, modified the CMakeLists.txt as instructed, then went to build the project. The build took 6 minutes to get to 50%, and then didn’t seem to progress.
I decided to delete the /build and /install directories in ros2_ws to try a clean install. Now, nothing seems to build.
I have downloaded/backed up all my packages already. Is it posible to revert this workspace to the default state, or revert it to how it was a day or two ago, so I can try again?
deleting install and build directories should not impact your colcon build command, even git is usually used only for the src folder.
try deleting the log folder as well and try building again.
It is still not building. I can build all packages separately fine, but when I run a colcon build on the workspace, it never finishes building (I’ve waited over 1 hour). Any advice?