[100%] Built target f1tenth_simulator_generate_messages_py
make[2]: *** 타겟 'f1tenth_simulator/CMakeFiles/JJJ.dir/build'을(를) 만들 규칙이 없습니다. 멈춤.
CMakeFiles/Makefile2:2832: recipe for target 'f1tenth_simulator/CMakeFiles/JJJ.dir/all' failed
make[1]: *** [f1tenth_simulator/CMakeFiles/JJJ.dir/all] Error 2
make[1]: *** 끝나지 않은 작업을 기다리고 있습니다....
[100%] Built target f1tenth_simulator_generate_messages
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j2 -l2" failed
f1tenth simulator를 구동하려는데, 위와 같은 문제가 발생했습니다. 새로운 node를 C++로 만들고(jjj.cpp) 이를 CMakeLists.txt 등에 모두 반영한 뒤 ~/catkin_ws에서 catkin_make를 실행했는데 위와 같은 문제가 발생했습니다.
CMakeLists.txt를 수정하는 과정에서 잘못된 점이 있었던 걸까요?
위와 같은 오류에도 불구하고 roslaunch를 사용해서 시뮬레이터를 구동할 수 있었으며, 이 때에는 다음과 같은 오류로 인해 해당 node만 구동할 수 없고 원래 존재하던 다른 node들은 제대로 작동합니다.
ERROR: cannot launch node of type [f1tenth_simulator/jjj]: Cannot locate node of type [jjj] in package [f1tenth_simulator]. Make sure file exists in package path and permission is set to executable (chmod +x)
(Ubuntu 18.04 LTS, ROS Melodic입니다.)