rosbuild_link_boost error [closed]
I'm following the tutorial on Moving the arm using the Joint Trajectory Action,
http://www.ros.org/wiki/pr2_controllers/Tutorials/Moving%20the%20arm%20using%20the%20Joint%20Trajectory%20Action
but vtable for boost error appeared. After making some changes to the CMakeList.txt file by adding rosbuild_add_boost_directories() and rosbuild_link_boost(${PROJECT_NAME} thread), different error on rosbuild_link_boost error. I am running on Fuerte, 12.04 precise.
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild
/rostoolchain.cmake ..
[rosbuild] Building package test_trajectory
[rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake
[rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake
[rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake
CMake Error at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:897 (target_link_libraries):
Cannot specify link libraries for target "test_trajectory" which is not
built by this project.
Call Stack (most recent call first):
CMakeLists.txt:28 (rosbuild_link_boost)
-- Configuring incomplete, errors occurred!
make: * [all] Error 1