Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

catkin build error

I Downloaded Phantomx_gazebo Package from github and then cloned Phantomx_Description from Github. The page says i need to have Hector_gazebo in my workspace to use the above package. I cloned this as well in my workspace.

After this I used Catkin Build then it gave me some plugin missing error which I the solved by installing the Plugin.

Now after this when I tried to Build the workspace again I get the following error which i have uploaded on gist.

This is the link for the gist https://gist.github.com/impaidk/3ad8902c7501dca1044af360d209ac74

My System specs are Ubuntu 16.04 Ros-kinetic built from source cmake version 3.5.1 gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11)

catkin build error

I Downloaded Phantomx_gazebo Package from github and then cloned Phantomx_Description from Github. The page says i need to have Hector_gazebo in my workspace to use the above package. I cloned this as well in my workspace.

After this I used Catkin Build then it gave me some plugin missing error which I the solved by installing the Plugin.

Now after this when I tried to Build the workspace again I get the following error which i have uploaded on gist.

This is the link for the gist https://gist.github.com/impaidk/3ad8902c7501dca1044af360d209ac74https://gist.github.com/impaidk/3ad8902c7501dca1044af360d209ac74. Example error:

Errors     << combined_robot_hw:make /home/paidevikiran/wzl_ws/logs/combined_robot_hw/build.make.005.log                                                                                                          
In file included from /home/paidevikiran/wzl_ws/src/ros_control/combined_robot_hw/include/combined_robot_hw/combined_robot_hw.h:37:0,
                 from /home/paidevikiran/wzl_ws/src/ros_control/combined_robot_hw/src/combined_robot_hw.cpp:29:
/home/paidevikiran/wzl_ws/src/ros_control/hardware_interface/include/hardware_interface/robot_hw.h:168:14: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
 typedef std::shared_ptr<RobotHW> RobotHWSharedPtr;
              ^
In file included from /home/paidevikiran/wzl_ws/src/ros_control/combined_robot_hw/src/combined_robot_hw.cpp:29:0:
/home/paidevikiran/wzl_ws/src/ros_control/combined_robot_hw/include/combined_robot_hw/combined_robot_hw.h:107:15: error: ‘RobotHWSharedPtr’ is not a member of ‘hardware_interface’
   std::vector<hardware_interface::RobotHWSharedPtr> robot_hw_list_;
               ^
/home/paidevikiran/wzl_ws/src/ros_control/combined_robot_hw/include/combined_robot_hw/combined_robot_hw.h:107:15: error: ‘RobotHWSharedPtr’ is not a member of ‘hardware_interface’
/home/paidevikiran/wzl_ws/src/ros_control/combined_robot_hw/include/combined_robot_hw/combined_robot_hw.h:107:51: error: template argument 1 is invalid
   std::vector<hardware_interface::RobotHWSharedPtr> robot_hw_list_;
                                                   ^
/home/paidevikiran/wzl_ws/src/ros_control/combined_robot_hw/include/combined_robot_hw/combined_robot_hw.h:107:51: error: template argument 2 is invalid
/home/paidevikiran/wzl_ws/src/ros_control/combined_robot_hw/include/combined_robot_hw/combined_robot_hw.h:116:49: error: ‘hardware_interface::RobotHWSharedPtr’ has not been declared
                             hardware_interface::RobotHWSharedPtr robot_hw);

My System specs are are:

  • Ubuntu 16.04
  • Ros-kinetic built from source source
  • cmake version 3.5.1 3.5.1
  • gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11)