diagnostics
diagnostics copied to clipboard
Could not find the required component 'diagnostic_updater'.
Just cloned this today, as a dependency for another application.
After issuing a build command (catkin_make_isolated) I get this:
-- Could NOT find diagnostic_updater (missing: diagnostic_updater_DIR)
-- Could not find the required component 'diagnostic_updater'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /home/pi/ros_catkin_ws/devel_isolated/catkin/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"diagnostic_updater" with any of the following names:
diagnostic_updaterConfig.cmake
diagnostic_updater-config.cmake
Add the installation prefix of "diagnostic_updater" to CMAKE_PREFIX_PATH or
set "diagnostic_updater_DIR" to a directory containing one of the above
files. If "diagnostic_updater" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:8 (find_package)
The diagnostic updater directory is, in fact, in my workspace.
I tried to add this:
set(diagnostic_updater_DIR /home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater)
to CMakeLists.txt, but that didn't seem to do anything helpful.
Sorry @jagauthier, but I can not reproduce this. Can you describe your setup, please, and tell me under which revision this happened?