ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
The problem appears when I uncomment the second add_executable and it is:
Linking CXX executable /home/summitxl/catkin_ws/devel/lib/test_imu/test_imu_results
CMakeFiles/test_imu_results.dir/src/test_imu_results.cpp.o: In function `test_imu_results::test_imu_results()':
/home/summitxl/catkin_ws/src/Ensayos/test_imu/src/test_imu_results.cpp:10: undefined reference to `ros::NodeHandle::NodeHandle(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
/home/summitxl/catkin_ws/src/Ensayos/test_imu/src/test_imu_results.cpp:15: undefined reference to `ros::console::g_initialized'
... and much more similar The thing is that this only appears when I do catkin_make When I try catkin_make test_imu it doesn't happens