catkin_make error of building realsense2_camera
I'm using realsense D415 and following the installation guide here(https://github.com/intel-ros/realsense). During the catkin_make process, i keep receive a error down below
In file included from /usr/include/librealsense2/hpp/rs_device.hpp:8:0,
from /usr/include/librealsense2/hpp/rs_record_playback.hpp:8,
from /usr/include/librealsense2/hpp/rs_context.hpp:8,
from /usr/include/librealsense2/rs.hpp:9,
from /home/ldsc/catkin_ws/src/realsense_ros_camera/src/../include/../include/realsense_node_factory.h:11,
from /home/ldsc/catkin_ws/src/realsense_ros_camera/src/../include/base_realsense_node.h:6,
from /home/ldsc/catkin_ws/src/realsense_ros_camera/src/base_realsense_node.cpp:1:
/usr/include/librealsense2/hpp/rs_sensor.hpp: In instantiation of ‘void rs2::frame_callback<T>::on_frame(rs2_frame*) [with T = rs2::asynchronous_syncer; rs2_frame = rs2_frame]’:
/home/ldsc/catkin_ws/src/realsense_ros_camera/src/base_realsense_node.cpp:1383:1: required from here
/usr/include/librealsense2/hpp/rs_sensor.hpp:109:13: error: no match for call to ‘(rs2::asynchronous_syncer) (rs2::frame)’
on_frame_function(frame{ fref });
^
realsense_ros_camera/CMakeFiles/realsense_ros_camera.dir/build.make:86: recipe for target 'realsense_ros_camera/CMakeFiles/realsense_ros_camera.dir/src/base_realsense_node.cpp.o' failed
Do anyone have any experiences on it ? Thanks!
There are matched versions of librealsense to ros realsense. Are you using one of the supported combinations?
HI! How can i check my librealsense version and ROS realsense2_camera version? Thanks!
I'd recommend reading the documentation for the releases you've used