ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Looks like you need to add this to your `CMakeLists.txt:
# Put this line before the executable or library:
rosbuild_add_boost_directories()
# Existing code:
rosbuild_add_executable(my_target my_srcs....)
# Put this line after the executable or library:
rosbuild_link_boost(my_target thread)
This changed in Fuerte.
2 | copy text directly from the tutorial |
Looks like you You need to add this to in your `CMakeLists.txt:CMakeLists.txt
:
# Put this line before the executable or library:
rosbuild_add_boost_directories()
# Existing code:
rosbuild_add_executable(my_target my_srcs....)
# Put this line after the executable or library:
rosbuild_link_boost(my_target rosbuild_add_executable(fibonacci_server src/fibonacci_server.cpp)
rosbuild_link_boost(fibonacci_server thread)
This changed in Fuerte.. The tutorial explains it correctly, but you need to click on the fuerte
button at the top of the page to see the new CMakeLists.txt
update.