actionlib tutorial errors
Hi! I'm new to ROS and I've been having some trouble getting started with the actionlib tutorial under Fuerte and Xubuntu 12.04.
I'm following the steps to create a Simple Action Server. In step 1.1, I used the following command to define the Fibonacci action, and then used the following command to generate the message files:
$ rosrun actionlib_msgs genaction.py . Fibonacci.action
This didn't work at first, and I needed to follow the guidance in another ROS answers topic to continue. The code that worked was as follows:
$ rosrun actionlib_msgs genaction.py -o msg/ action/Fibonacci.action
I followed the steps to edit CMakeLists.txt, created fibonacci_server.cpp, and copied the code given by the tutorial. If I make the project (with rosmake), though, the build fails with the follow error.
Scanning dependencies of target fibonacci_server
make[3]: Leaving directory `/home/will/ros_workspace/tutorials/learning_actionlib/build'
make[3]: Entering directory `/home/will/ros_workspace/tutorials/learning_actionlib/build'
[100%] Building CXX object CMakeFiles/fibonacci_server.dir/src/fibonacci_server.o
Linking CXX executable ../bin/fibonacci_server
/usr/bin/ld: CMakeFiles/fibonacci_server.dir/src/fibonacci_server.o: undefined reference to symbol 'vtable for boost::detail::thread_data_base'
/usr/bin/ld: note: 'vtable for boost::detail::thread_data_base' is defined in DSO /usr/lib64/libboost_thread.so.1.46.1 so try adding it to the linker command line
/usr/lib64/libboost_thread.so.1.46.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [../bin/fibonacci_server] Error 1
make[3]: Leaving directory `/home/will/ros_workspace/tutorials/learning_actionlib/build'
make[2]: *** [CMakeFiles/fibonacci_server.dir/all] Error 2
make[2]: Leaving directory `/home/will/ros_workspace/tutorials/learning_actionlib/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/will/ros_workspace/tutorials/learning_actionlib/build'
Any assistance would be greatly appreciated. Thanks!