Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find the required component 'diagnostic_updater'. #219

Open
jagauthier opened this issue Nov 18, 2021 · 1 comment
Open

Could not find the required component 'diagnostic_updater'. #219

jagauthier opened this issue Nov 18, 2021 · 1 comment
Labels
ros1 PR tackling a ROS1 branch

Comments

@jagauthier
Copy link

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.

@ct2034
Copy link
Collaborator

ct2034 commented Nov 21, 2022

Sorry @jagauthier, but I can not reproduce this. Can you describe your setup, please, and tell me under which revision this happened?

@ct2034 ct2034 added the ros1 PR tackling a ROS1 branch label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ros1 PR tackling a ROS1 branch
Projects
None yet
Development

No branches or pull requests

2 participants