Hello,
I am running to compilation error under “Time to validate”
All the dependent files are in place as per the notes. Can you please help me resolve this?
Thanks
[ 29%] Building CXX object fetch_tc/fetch_sim/fetch_ros/fetch_depth_layer/CMakeFiles/fetch_depth_layer.dir/src/depth_layer.cpp.o
In file included from /opt/ros/kinetic/include/costmap_2d/layer.h:43:0,
from /opt/ros/kinetic/include/costmap_2d/voxel_layer.h:42,
from /home/user/catkin_ws/src/fetch_tc/fetch_sim/fetch_ros/fetch_depth_layer/include/fetch_depth_layer/depth_layer.h:26,
from /home/user/catkin_ws/src/fetch_tc/fetch_sim/fetch_ros/fetch_depth_layer/src/depth_layer.cpp:23:
/home/user/.catkin_ws_python3/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/user/.catkin_ws_python3/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/user/.catkin_ws_python3/src/geometry/tf/include/tf/tf.h: In member function 'ros::Duration tf::Transformer::getCacheLength()':
/home/user/.catkin_ws_python3/src/geometry/tf/include/tf/tf.h:331:43: error: 'tf2_buffer_ptr_' was not declaredin this scope
ros::Duration getCacheLength() { return tf2_buffer_ptr_->getCacheLength();}
^
/home/user/.catkin_ws_python3/src/geometry/tf/include/tf/tf.h: In member function 'void tf::Transformer::setUsingDedicatedThread(bool)':
/home/user/.catkin_ws_python3/src/geometry/tf/include/tf/tf.h:349:46: error: 'tf2_buffer_ptr_' was not declaredin this scope
void setUsingDedicatedThread(bool value) { tf2_buffer_ptr_->setUsingDedicatedThread(value);};
^
/home/user/.catkin_ws_python3/src/geometry/tf/include/tf/tf.h: In member function 'bool tf::Transformer::isUsingDedicatedThread()':
/home/user/.catkin_ws_python3/src/geometry/tf/include/tf/tf.h:351:42: error: 'tf2_buffer_ptr_' was not declaredin this scope
bool isUsingDedicatedThread() { return tf2_buffer_ptr_->isUsingDedicatedThread();};
^
fetch_tc/fetch_sim/fetch_ros/fetch_depth_layer/CMakeFiles/fetch_depth_layer.dir/build.make:62: recipe for target 'fetch_tc/fetch_sim/fetch_ros/fetch_depth_layer/CMakeFiles/fetch_depth_layer.dir/src/depth_layer.cpp.o' failed
make[2]: *** [fetch_tc/fetch_sim/fetch_ros/fetch_depth_layer/CMakeFiles/fetch_depth_layer.dir/src/depth_layer.cpp.o] Error 1
CMakeFiles/Makefile2:4723: recipe for target 'fetch_tc/fetch_sim/fetch_ros/fetch_depth_layer/CMakeFiles/fetch_depth_layer.dir/all' failed
make[1]: *** [fetch_tc/fetch_sim/fetch_ros/fetch_depth_layer/CMakeFiles/fetch_depth_layer.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j2 -l2" failed