Could not find a package configuration file provided by "plunginlib"
I did the steps in https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Pluginlib.html
and it failed in colcon build --packages-select polygon_base polygon_plugins
,
errors following:
--- stderr: polygonbase CMake Error at CMakeLists.txt:10 (findpackage): By not providing "Findplunginlib.cmake" in CMAKEMODULEPATH this project has asked CMake to find a package configuration file provided by
"plunginlib", but CMake did not find one.Could not find a package configuration file provided by "plunginlib" with any of the following names:
plunginlibConfig.cmake plunginlib-config.cmake
Add the installation prefix of "plunginlib" to CMAKEPREFIXPATH or set "plunginlib_DIR" to a directory containing one of the above files. If "plunginlib" provides a separate development package or SDK, be sure it has been installed.
--- Failed <<< polygon_base [0.49s, exited with code 1]
Asked by Victoria_yzb on 2022-07-26 21:07:42 UTC
Answers
CMake to find a package configuration file provided by "plunginlib", but CMake did not find one.
Note how the error message says plunginlib
.
The correct name of the package would be pluginlib
, without the extra n
between the u
and the g
.
Asked by gvdhoorn on 2022-08-01 11:26:38 UTC
Comments
I did
but it didn't work.
Asked by Victoria_yzb on 2022-07-26 21:09:22 UTC