introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.6k stars 761 forks source link

yaml-cpp::yaml-cpp target missing when building with libpointmatcher (ROS2 Jazzy) #1268

Closed matlabbe closed 2 months ago

matlabbe commented 2 months ago

See this log:

23:49:15 CMake Error at corelib/src/CMakeLists.txt:787 (TARGET_LINK_LIBRARIES):
23:49:15   Target "rtabmap_core" links to:
23:49:15 
23:49:15     yaml-cpp::yaml-cpp
23:49:15 
23:49:15   but the target was not found.  Possible reasons include:
23:49:15 
23:49:15     * There is a typo in the target name.
23:49:15     * A find_package call is missing for an IMPORTED target.
23:49:15     * An ALIAS target is missing.
23:49:15 
23:49:15 
23:49:15 
23:49:15 -- Generating done (0.5s)