Language & Framework & GIT/ROS2

[ROS] ROS2, No executable found

veganwithbacon 2023. 11. 1. 10:56
반응형

 

❗❗❗If you run [ros2 run] and you get the above error, follow along as follows.

 

check <name_of_executable_target> in CMakeLists.txt

install(TARGETS
  <name_of_executable_target>
  DESTINATION lib/${PROJECT_NAME}/
)

 

After building:

source install/setup.bash

 

 

and finally: 

ros2 run [package_name] [executable_name]

 

it will be solve the issue


The reason why I suddenly wrote Eng is because I thought my eyes would pop out while watching the code, 
so I wrote it to organize errors as I thought. you know, I`m not good at Eng. Don't tackle my grammar, jst read it.

반응형