Error building gazebo ros Packages 1.9 from source in Groovy
On the way to control a PR2 Robot with MoveIt! in Gazebo im following this guide. Due to various reasons Ubuntu Precise with Groovy seems to be the right match for this mission.
In point 6 (Installing GazeboRosPackages) it is recommended to install the Gazebo ros packages. I followed the guide up to 7.2.3 building the gazeborospkgs for Groovy from source as there is no precompiled package for Groovy.
Catkin_make'ing I ran in a couple of issues of missing packages I was able to solve by myself. Unfortunately I now got stuck and don't know where to find a solution. To be honest, I don't understand the cause of the error.
Here is the command line output below. I verified all the mentioned .so-files are present where they belong. Any help is highly appreciated. Thanks!
`elias@Precise-Zeus:~/catkin_ws$ catkin\_make
[...]
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins
In file included from /home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins
src/gazebo_ros_hand_of_god.cpp:43:0:
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_hand_of_god.h:60:30: error: ‘tf2_ros’ was not declared in this scope
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_hand_of_god.h:60:45: error: template argument 1 is invalid
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_hand_of_god.h:61:30: error: ‘tf2_ros’ was not declared in this scope
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_hand_of_god.h:61:56: error: template argument 1 is invalid
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_hand_of_god.h:62:30: error: ‘tf2_ros’ was not declared in this scope
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_hand_of_god.h:62:59: error: template argument 1 is invalid
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp: In member function ‘virtual void gazebo::GazeboRosHandOfGod::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’:
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:123:16: error: request for member ‘reset’ in ‘((gazebo::GazeboRosHandOfGod*)this)->gazebo::GazeboRosHandOfGod::tf_buffer_’, which is of non-class type ‘int’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:123:26: error: expected type-specifier before ‘tf2_ros’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:123:26: error: expected ‘)’ before ‘tf2_ros’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:124:18: error: request for member ‘reset’ in ‘((gazebo::GazeboRosHandOfGod*)this)->gazebo::GazeboRosHandOfGod::tf_listener_’, which is of non-class type ‘int’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:124:28: error: expected type-specifier before ‘tf2_ros’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:124:28: error: expected ‘)’ before ‘tf2_ros’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:125:21: error: request for member ‘reset’ in ‘((gazebo::GazeboRosHandOfGod*)this)->gazebo::GazeboRosHandOfGod::tf_broadcaster_’, which is of non-class type ‘int’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:125:31: error: expected type-specifier before ‘tf2_ros’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp:125:31: error: expected ‘)’ before ‘tf2_ros’
/home/elias/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_hand_of_god.cpp: In member function ‘virtual void gazebo::GazeboRosHandOfGod ...