diagnostic_updaterConfig.cmake

asked 2017-05-21 10:21:01 -0500

Abdu gravatar image

updated 2017-05-22 12:30:08 -0500

ahendrix gravatar image

I am new with ros, I deleted some files then I want to do catkin_make, I got the following error, diagnostic_updaterConfig.cmake diagnostic_updater-config.cmake

anyone can fix it please ??

abdulrahman@abdulrahman-ThinkPad-X230-Tablet:~/catkin_ws$ catkin_make
Base path: /home/abdulrahman/catkin_ws
Source space: /home/abdulrahman/catkin_ws/src
Build space: /home/abdulrahman/catkin_ws/build
Devel space: /home/abdulrahman/catkin_ws/devel
Install space: /home/abdulrahman/catkin_ws/install
####
#### Running command: "cmake /home/abdulrahman/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/abdulrahman/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/abdulrahman/catkin_ws/install -G Unix Makefiles" in "/home/abdulrahman/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/abdulrahman/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/abdulrahman/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.6
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 22 packages in topological order:
-- ~~  - camera_umd (metapackage)
-- ~~  - freenect_launch
-- ~~  - freenect_stack
-- ~~  - iai_kinect2 (metapackage)
-- ~~  - image_common (metapackage)
-- ~~  - openni2_launch
-- ~~  - camera_calibration_parsers
-- ~~  - kinect2_registration
-- ~~  - image_transport
-- ~~  - camera_info_manager
-- ~~  - jpeg_streamer
-- ~~  - openni_launch
-- ~~  - polled_camera
-- ~~  - freenect_camera
-- ~~  - openni_camera
-- ~~  - find_object_2d
-- ~~  - kinect2_bridge
-- ~~  - kinect2_calibration
-- ~~  - kinect2_viewer
-- ~~  - denso_gui
-- ~~  - usb_cam
-- ~~  - uvc_camera
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'camera_umd'
-- ==> add_subdirectory(camera_umd-master/camera_umd)
-- +++ processing catkin package: 'freenect_launch'
-- ==> add_subdirectory(freenect_stack/freenect_launch)
-- +++ processing catkin package: 'freenect_stack'
-- ==> add_subdirectory(freenect_stack/freenect_stack)
-- +++ processing catkin metapackage: 'iai_kinect2'
-- ==> add_subdirectory(iai_kinect2/iai_kinect2)
-- +++ processing catkin metapackage: 'image_common'
-- ==> add_subdirectory(image_common/image_common)
-- +++ processing catkin package: 'openni2_launch'
-- ==> add_subdirectory(openni2_launch)
-- +++ processing catkin package: 'camera_calibration_parsers'
-- ==> add_subdirectory(image_common/camera_calibration_parsers)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   python
--   system
-- +++ processing catkin package: 'kinect2_registration'
-- ==> add_subdirectory(iai_kinect2/kinect2_registration)
-- Could NOT find OpenCL (missing:  OpenCL_LIBRARY OpenCL_INCLUDE_DIR) 
-- CPU based depth registration enabled
-- OpenCL based depth registration disabled
-- +++ processing catkin package: 'image_transport'
-- ==> add_subdirectory(image_common/image_transport)
-- Boost version: 1.58.0
-- +++ processing catkin package: 'camera_info_manager'
-- ==> add_subdirectory(image_common/camera_info_manager)
-- Boost version: 1.58.0
-- +++ processing catkin package: 'jpeg_streamer'
-- ==> add_subdirectory(camera_umd-master/jpeg_streamer)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- +++ processing catkin package: 'openni_launch'
-- ==> add_subdirectory(openni_launch)
-- +++ processing catkin package: 'polled_camera'
-- ==> add_subdirectory(image_common/polled_camera)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- polled_camera: 0 messages, 1 services
-- +++ processing catkin package: 'freenect_camera'
-- ==> add_subdirectory(freenect_stack/freenect_camera)
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (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):
  freenect_stack/freenect_camera/CMakeLists.txt:3 (find_package)


-- 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 /opt/ros/kinetic/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 ...
(more)
edit retag flag offensive close merge delete

Comments

What did you delete? Did it work before you deleted the files?

ahendrix gravatar image ahendrix  ( 2017-05-22 12:30:35 -0500 )edit

We are having the same problem. Did you manage to fix it? Can you help me please!

zehrab. gravatar image zehrab.  ( 2020-01-27 06:44:49 -0500 )edit