compile of pr2_moveit_plugin fails
SInce there is no binary version of pr2 for kinetic, I downloaded source code of moveit_pr2, pr2_mechanism_msgs and pr2_controllers_msgs from github. Now I am trying to build the source code. The error I met now is shard_ptr in namespace std does not name a template type. Here is the output:
In file included from /home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/class_forward.h:40:0,
from /home/ruinianxu/ws_moveit/src/moveit/moveit_core/controller_manager/include/moveit/controller_manager/controller_manager.h:43,
from /home/ruinianxu/ws_moveit/src/moveit_pr2/pr2_moveit_plugins/pr2_moveit_controller_manager/src/pr2_moveit_controller_manager.cpp:38:
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/declare_ptr.h:52:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
typedef std::shared_ptr<Type> Name##Ptr; \
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/class_forward.h:51:3: note: in expansion of macro ‘MOVEIT_DECLARE_PTR’
MOVEIT_DECLARE_PTR(C, C);
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/controller_manager/include/moveit/controller_manager/controller_manager.h:102:1: note: in expansion of macro ‘MOVEIT_CLASS_FORWARD’
MOVEIT_CLASS_FORWARD(MoveItControllerHandle);
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/declare_ptr.h:53:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
typedef std::shared_ptr<const Type> Name##ConstPtr;
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/class_forward.h:51:3: note: in expansion of macro ‘MOVEIT_DECLARE_PTR’
MOVEIT_DECLARE_PTR(C, C);
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/controller_manager/include/moveit/controller_manager/controller_manager.h:102:1: note: in expansion of macro ‘MOVEIT_CLASS_FORWARD’
MOVEIT_CLASS_FORWARD(MoveItControllerHandle);
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/declare_ptr.h:52:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
typedef std::shared_ptr<Type> Name##Ptr; \
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/class_forward.h:51:3: note: in expansion of macro ‘MOVEIT_DECLARE_PTR’
MOVEIT_DECLARE_PTR(C, C);
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/controller_manager/include/moveit/controller_manager/controller_manager.h:144:1: note: in expansion of macro ‘MOVEIT_CLASS_FORWARD’
MOVEIT_CLASS_FORWARD(MoveItControllerManager);
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/declare_ptr.h:53:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
typedef std::shared_ptr<const Type> Name##ConstPtr;
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/class_forward.h:51:3: note: in expansion of macro ‘MOVEIT_DECLARE_PTR’
MOVEIT_DECLARE_PTR(C, C);
^
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/controller_manager/include/moveit/controller_manager/controller_manager.h:144:1: note: in expansion of macro ‘MOVEIT_CLASS_FORWARD’
MOVEIT_CLASS_FORWARD(MoveItControllerManager);
^
In file included from /home/ruinianxu/ws_moveit/src/moveit_pr2/pr2_moveit_plugins/pr2_moveit_controller_manager/src/pr2_moveit_controller_manager.cpp:38:0:
/home/ruinianxu/ws_moveit/src/moveit/moveit_core/controller_manager/include/moveit/controller_manager/controller_manager.h:185:11: error: ‘MoveItControllerHandlePtr’ does not name a type
virtual MoveItControllerHandlePtr getControllerHandle(const std::string& name) = 0;
^
/home/ruinianxu/ws_moveit/src/moveit_pr2/pr2_moveit_plugins/pr2_moveit_controller_manager/src/pr2_moveit_controller_manager.cpp:419:38: error: ‘MoveItControllerHandlePtr’ in namespace ‘moveit_controller_manager’ does not name a type
virtual moveit_controller_manager::MoveItControllerHandlePtr getControllerHandle(const std::string &name)
^
/home/ruinianxu/ws_moveit/src/moveit_pr2/pr2_moveit_plugins/pr2_moveit_controller_manager/src/pr2_moveit_controller_manager.cpp:597:30: error: ‘MoveItControllerHandlePtr’ in namespace ‘moveit_controller_manager’ does not name a type
moveit_controller_manager::MoveItControllerHandlePtr getControllerHandleHelper ...