Ask Your Question
0

i cant catkin_make moveit_simple_grasps in ROS jade

asked 2016-10-28 09:48:04 -0600

zakizadeh gravatar image

updated 2016-10-28 14:37:48 -0600

gvdhoorn gravatar image

hi

i cant install moveit_simple_grasps in ROS jade

[ 96%] Built target moveit_visual_tools_demo
In file included from /home/zakizadeh/catkin_ws2/src/moveit_visual_tools/include/moveit_visual_tools/moveit_visual_tools.h:44:0,
                 from /home/zakizadeh/catkin_ws2/src/moveit_simple_grasps/include/moveit_simple_grasps/simple_grasps.h:60,
                 from /home/zakizadeh/catkin_ws2/src/moveit_simple_grasps/include/moveit_simple_grasps/grasp_filter.h:49,
                 from /home/zakizadeh/catkin_ws2/src/moveit_simple_grasps/src/grasp_filter.cpp:35:
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1042:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   std::string name_ = "visual_tools";
                       ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1046:38: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool pub_rviz_markers_connected_ = false;
                                      ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1047:35: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool pub_rviz_markers_waited_ = false;
                                   ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1057:36: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool batch_publishing_enabled_ = true;;
                                    ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1086:28: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool psychedelic_mode_ = false;
                            ^
In file included from /home/zakizadeh/catkin_ws2/src/moveit_visual_tools/include/moveit_visual_tools/moveit_visual_tools.h:44:0,
                 from /home/zakizadeh/catkin_ws2/src/moveit_simple_grasps/include/moveit_simple_grasps/simple_grasps.h:60,
                 from /home/zakizadeh/catkin_ws2/src/moveit_simple_grasps/src/simple_grasps.cpp:35:
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1042:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   std::string name_ = "visual_tools";
                       ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1046:38: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool pub_rviz_markers_connected_ = false;
                                      ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1047:35: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool pub_rviz_markers_waited_ = false;
                                   ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1057:36: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool batch_publishing_enabled_ = true;;
                                    ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1092:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
 typedef std::shared_ptr<RvizVisualTools> RvizVisualToolsPtr;
         ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1093:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
 typedef std::shared_ptr<const RvizVisualTools> RvizVisualToolsConstPtr;
         ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1086:28: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
   bool psychedelic_mode_ = false;
                            ^
/home/zakizadeh/catkin_ws2/src/rviz_visual_tools/include/rviz_visual_tools/rviz_visual_tools.h:1092:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
 typedef std::shared_ptr<RvizVisualTools> RvizVisualToolsPtr;
         ^
/home/zakizadeh/catkin_ws2/src ...
(more)
edit retag flag offensive close merge delete

Comments

Please use the Preformatted Text button next time when copy/pasting console output (errors), launch files, code snippets, etc. It makes things much easier to read.

Thanks.

gvdhoorn gravatar imagegvdhoorn ( 2016-10-28 11:54:30 -0600 )edit

Also: this is not the entire error message, just the last bit of it. Without the lines leading to what you already included, it's going to be very hard to help you. Please update your question by editing it. Use the edit button/link for that.

gvdhoorn gravatar imagegvdhoorn ( 2016-10-28 11:55:22 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-10-28 14:44:00 -0600

gvdhoorn gravatar image

updated 2016-10-28 14:44:22 -0600

This is not a problem with moveit_simple_grasps:

[..]
In file included from /home/zakizadeh/catkin_ws2/src/moveit_visual_tools/include/moveit_visual_tools/moveit_visual_tools.h:44:0,
[..]

This looks like you're trying to compile a C++11 version of moveit_visual_tools on an OS that doesn't have a compiler that supports that.

If you are on Jade, make sure you are not trying to compile the kinetic-devel branch of davetcoleman/moveit_visual_tools.

Note btw that moveit_visual_tools has been released for Jade (see status_page/ros_jade_default.html?q=visual_tools), no need to build that all from source. Just sudo apt-get install ros-jade-moveit-visual-tools.

edit flag offensive delete link more

Comments

Respected @gvdhoorn, I am also having the same issue. I am using ROS indigo. I used the command "sudo apt-get install ros-indigo-moveit-visual-tools" But unfortunately, the problem remain intact. I tried both of your mentioned links but I am still unable to cakin_make the "moveit_simple_grasps"

Ayush Sharma gravatar imageAyush Sharma ( 2017-03-06 10:18:11 -0600 )edit

If you've installed the binary package, then you don't need to build moveit_visual_tools anymore.

gvdhoorn gravatar imagegvdhoorn ( 2017-03-06 10:36:08 -0600 )edit

Thank you fr such a quick reply. But then i need to build the package of "moveit_simple_grasps". Isn't so? or do i need to simple try with the launch files of "moveit_simple_grasps"?? bcz while building this package, i getting the same error.

Ayush Sharma gravatar imageAyush Sharma ( 2017-03-06 11:00:55 -0600 )edit

If you need to build moveit_simple_grasps then you'll need to make sure all dependencies are installed, and make sure you are building the correct version for your ROS version. It's probably better to open a new question for this.

gvdhoorn gravatar imagegvdhoorn ( 2017-03-06 11:05:30 -0600 )edit

Will do the needful. Regards

Ayush Sharma gravatar imageAyush Sharma ( 2017-03-06 11:11:08 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-10-28 09:48:04 -0600

Seen: 472 times

Last updated: Oct 28 '16