mrpt-ros-pkg / mrpt_slam

ROS wrappers for SLAM algorithms in MRPT
http://wiki.ros.org/mrpt_slam
BSD 3-Clause "New" or "Revised" License
114 stars 49 forks source link

[Noetic] Build failure in mrpt_ekf_slam_3d missing TBB::tbb target #75

Closed sloretz closed 1 month ago

sloretz commented 1 month ago

https://build.ros.org/view/Nbin_uF64/job/Nbin_uF64__mrpt_ekf_slam_3d__ubuntu_focal_amd64__binary/123/console

I see elsewhere theres a find_package(TBB QUIET) call, but the only change I see here does not touch CMake code https://github.com/mrpt-ros-pkg/mrpt_slam/commit/76df57c66b97bec39dde310755d0f47bab97101d . Maybe the root cause is a change in an upstream package not exporting the dependency on TBB?

08:22:29 CMake Error at CMakeLists.txt:66 (add_executable):
08:22:29   Target "mrpt_ekf_slam_3d" links to target "TBB::tbb" but the target was not
08:22:29   found.  Perhaps a find_package() call is missing for an IMPORTED target, or
08:22:29   an ALIAS target is missing?
jlblancoc commented 1 month ago

The last mrpt_libslam release included a Ros package.XML depend on tbb. I suspect it might be the lack of the cmake namespaced imported target in older versions of tbb for Ubuntu version in noetic but must check it out...

jlblancoc commented 1 month ago

@sloretz Hopefully fixed by https://github.com/ros/rosdistro/pull/42890