ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

unable to build geometry package in ROS kinetic [closed]

asked 2019-04-12 00:02:01 -0500

Pramod gravatar image

updated 2019-04-12 01:14:25 -0500

jayess gravatar image

Im trying to install geometry package but im getting this error:

[ 93%] Built target check_for_chessboard
Scanning dependencies of target marker_broadcaster
[ 93%] Building CXX object ardrone_autonomy/CMakeFiles/ardrone_driver.dir/src/video.cpp.o
[ 93%] Building CXX object external_camera_tf/CMakeFiles/calib_gui.dir/src/calib_gui.cpp.o
[ 93%] Building CXX object external_camera_tf/CMakeFiles/marker_broadcaster.dir/src/marker_broadcaster.cpp.o
In file included from /home/pramod/catkin_ws/devel/src/ardronelib/ARDroneLib/Soft/Lib/ardrone_tool/Video/video_stage_ffmpeg_decoder.h:14:0,
                 from /home/pramod/catkin_ws/devel/src/ardronelib/ARDroneLib/Soft/Lib/ardrone_tool/Video/video_stage_decoder.h:27,
                 from /home/pramod/catkin_ws/devel/src/ardronelib/ARDroneLib/Soft/Lib/ardrone_tool/Video/video_stage.h:27,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/ardrone_sdk.h:63,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/video.h:28,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/src/video.cpp:25:
/home/pramod/catkin_ws/devel/src/ardronelib/ARDroneLib/FFMPEG/Includes/libavcodec/avcodec.h:525:27: warning: attribute ignored in declaration of ‘enum AVLPCType’ [-Wattributes]
 attribute_deprecated enum AVLPCType {
                           ^
/home/pramod/catkin_ws/devel/src/ardronelib/ARDroneLib/FFMPEG/Includes/libavcodec/avcodec.h:525:27: note: attribute for ‘enum AVLPCType’ must follow the ‘enum’ keyword
[ 93%] Linking CXX executable /home/pramod/catkin_ws/devel/lib/external_camera_tf/calib_gui
In file included from /home/pramod/catkin_ws/src/geometry/tf/include/tf/transform_broadcaster.h:36:0,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/ardrone_driver.h:33,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/ardrone_sdk.h:70,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/video.h:28,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/src/video.cpp:25:
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h:354:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
   std::shared_ptr<tf2_ros::Buffer> getTF2BufferPtr() { return tf2_buffer_ptr_;};
        ^
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h:403:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
   std::shared_ptr<tf2_ros::Buffer> tf2_buffer_ptr_;
        ^
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h: In member function ‘ros::Duration tf::Transformer::getCacheLength()’:
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h:331:43: error: ‘tf2_buffer_ptr_’ was not declared in this scope
   ros::Duration getCacheLength() { return tf2_buffer_ptr_->getCacheLength();}
                                           ^
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h: In member function ‘void tf::Transformer::setUsingDedicatedThread(bool)’:
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h:349:46: error: ‘tf2_buffer_ptr_’ was not declared in this scope
   void setUsingDedicatedThread(bool value) { tf2_buffer_ptr_->setUsingDedicatedThread(value);};
                                              ^
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h: In member function ‘bool tf::Transformer::isUsingDedicatedThread()’:
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h:351:42: error: ‘tf2_buffer_ptr_’ was not declared in this scope
   bool isUsingDedicatedThread() { return tf2_buffer_ptr_->isUsingDedicatedThread();};
                                          ^
In file included from /home/pramod/catkin_ws/src/geometry/tf/include/tf/transform_broadcaster.h:36:0,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/ardrone_driver.h:33,
                 from /home/pramod/catkin_ws/src/ardrone_autonomy/src/ardrone_driver.cpp:30:
/home/pramod/catkin_ws/src/geometry/tf/include/tf/tf.h:354:8: error: ‘shared_ptr’ in namespace ‘std ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Pramod
close date 2019-04-13 00:42:12.770916

1 Answer

Sort by » oldest newest most voted
1

answered 2019-04-12 04:07:39 -0500

tfoote gravatar image

It looks like you're using a version of geometry2 from ROS2 in Kinetic. Make sure you're uisng the right branch. To that end, if you'd like more help, please update your question with informatoin about how to reproduce your environment. All the binary packages you've installed from what source, as well as all the source code checkouts that are in your workspace and what versions you have present. If we can reproduce your problem it is easier to help you. Otherwise we'll just be guessing.

edit flag offensive delete link more

Comments

Thankyou. Iam trying to install melodic branch package in kinetic.That's why its not working.

Pramod gravatar image Pramod  ( 2019-04-13 00:41:32 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-04-12 00:02:01 -0500

Seen: 713 times

Last updated: Apr 12 '19