20:53:54 CMakeFiles/srrg_localizer2d_node.dir/ros/srrg_localizer2d_ros/src/ros_localizer.cpp.o: In function `srrg_localizer2d_ros::ROSLocalizer::handleGUIInput() [clone .part.49]':
20:53:54 ros_localizer.cpp:(.text+0x2f): undefined reference to `cv::waitKey(int)'
20:53:54 CMakeFiles/srrg_localizer2d_node.dir/ros/srrg_localizer2d_ros/src/ros_localizer.cpp.o: In function `srrg_localizer2d_ros::ROSLocalizer::initGUI()':
20:53:54 ros_localizer.cpp:(.text+0x9e2): undefined reference to `cv::namedWindow(cv::String const&, int)'
20:53:54 ros_localizer.cpp:(.text+0xa37): undefined reference to `cv::setMouseCallback(cv::String const&, void (*)(int, int, int, int, void*), void*)'
20:53:54 CMakeFiles/srrg_localizer2d_node.dir/ros/srrg_localizer2d_ros/src/ros_localizer.cpp.o: In function `srrg_localizer2d_ros::ROSLocalizer::handleGUIDisplay()':
20:53:54 ros_localizer.cpp:(.text+0x1049): undefined reference to `cv::imshow(cv::String const&, cv::_InputArray const&)'
20:53:54 collect2: error: ld returned 1 exit status
Looks as if highgui isn't included. I recall a similar problem with other packages, but I don't quite recall the exact solution. I seem to recall that @MFernandezCarmona solved this in another project...
see https://lcas.lincoln.ac.uk/buildfarm/job/Kbin_uX64__spqrel_navigation__ubuntu_xenial_amd64__binary/2/console
Looks as if
highgui
isn't included. I recall a similar problem with other packages, but I don't quite recall the exact solution. I seem to recall that @MFernandezCarmona solved this in another project...