ira_laser_tools compilation causes "undefined reference" errors
Hello, I am on the Raspberry Pi 4 with Raspbian Buster and ROS melodic. My goal is to compile my current project with the ira_laser_tools library. After cloning the library I am compiling with catkin_make, and the error is:
[100%] Linking CXX executable /home/pi/wheelchairv2/devel/lib/ira_laser_tools/laserscan_multi_merger
/usr/bin/ld: /opt/ros/melodic/lib/libtf.so: undefined reference to `tf2_ros::TransformListener::TransformListener(tf2::BufferCore&, ros::NodeHandle const&, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [wheelchairv2_ros/dependencies/ira_laser_tools/CMakeFiles/laserscan_virtualizer.dir/build.make:709:
/home/pi/wheelchairv2/devel/lib/ira_laser_tools/laserscan_virtualizer] Error 1
make[1]: *** [CMakeFiles/Makefile2:7989: wheelchairv2_ros/dependencies/ira_laser_tools/CMakeFiles/laserscan_virtualizer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: /opt/ros/melodic/lib/libtf.so: undefined reference to `tf2_ros::TransformListener::TransformListener(tf2::BufferCore&,
ros::NodeHandle const&, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [wheelchairv2_ros/dependencies/ira_laser_tools/CMakeFiles/laserscan_multi_merger.dir/build.make:709:
/home/pi/wheelchairv2/devel/lib/ira_laser_tools/laserscan_multi_merger] Error 1
make[1]: *** [CMakeFiles/Makefile2:8769:
wheelchairv2_ros/dependencies/ira_laser_tools/CMakeFiles/laserscan_multi_merger.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j4 -l4" failed
Do you have any advice for this situation? Kind regards, Artem