neufieldrobotics / spinnaker_sdk_camera_driver

Point Grey (FLIR) Spinnaker based camera driver (Blackfly S etc.)
MIT License
128 stars 90 forks source link

Could not find a package configuration file provided by "image_exposure_msgs" with any of the following names #59

Closed milmario closed 4 years ago

milmario commented 5 years ago

Hi, when I'm trying to "catkin build" the spinnaker_camera_driver, I get the following error message:

CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "image_exposure_msgs" with any of the following names:

    image_exposure_msgsConfig.cmake
    image_exposure_msgs-config.cmake

  Add the installation prefix of "image_exposure_msgs" to CMAKE_PREFIX_PATH
  or set "image_exposure_msgs_DIR" to a directory containing one of the above
  files.  If "image_exposure_msgs" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:8 (find_package)

I'm new to the ROS-environment, so I don't really understand what that means? I'm using Ubuntu 18.04 and ROS Melodic.

My catkin-configuration is:

Devel Space Layout:          linked
Install Space Layout:        None
---------------------------------------------------------------------------------------------------------
Additional CMake Args:       -DCMAKE_BUILD_TYPE=Release -DBINDINGS_RUBY=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS=-Wno-int-in-bool-context
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None

Please let me know if you need some further information

Thanks for your help! :)

vik748 commented 5 years ago

Try building again. Sometimes it doesn't build the messages in the first go.

milmario commented 5 years ago

I tried building it many times actually... Error message stays the same

ghost commented 5 years ago

Which branch are you working off? I don't see any mention of "image_exposure_msgs" anywhere in the master branch.

nkhedekar commented 4 years ago

As @shahvi said, it is not mentioned anywhere. Nonetheless, this can be solved by installing the image_exposure_msgs package as sudo apt-get install ros-kinetic-image-exposure-msgs