ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You're making this more complicated than it needs to be; you don't need to create a separate library for each file you want to compile.
You can compile all of your files into a single executable with just:
rosbuild_add_executable(ARDroneV3 src/ARDrone.cpp src/CJoystick.cpp src/CFrame.cpp src/CControl.cpp)
The rest of your target_link_libraries and rosbuild_add_library calls are unnecessary.
If that doesn't work, copy and paste the exact compile/link error into your question.