Message-generation package not found

asked 2018-07-17 00:02:23 -0500

arennuit gravatar image

updated 2018-07-17 00:02:42 -0500

Hi all,

Since a few days I have had the following error mesage:

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by
  "message_generation" with any of the following names:

    message_generationConfig.cmake
    message_generation-config.cmake

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


-- Could not find the required component 'message_generation'. 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/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "message_generation" with any of the following names:

    message_generationConfig.cmake
    message_generation-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/arennuit/DevRoot/src/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/arennuit/DevRoot/src/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

I am sure the ros-indigo-message-generation and ros-indigo-message-runtime are installed.

Any idea of what is going on?

Kind regards,

Antoine.

edit retag flag offensive close merge delete

Comments

Can you roscd into those packages? $roscd message_generation brings you to your ros install? Even if you are sure the packages are installed it might help if you reinstall them.

Reamees gravatar imageReamees ( 2018-07-17 01:28:12 -0500 )edit

Can you find it with:

rospack find message_generation

?

pavel92 gravatar imagepavel92 ( 2018-07-17 02:04:42 -0500 )edit

The problem was totally unlinked to ROS, sorry.

arennuit gravatar imagearennuit ( 2018-07-23 01:52:59 -0500 )edit

Hey! I am stuck with the same error, can you elaborate on what you did to solve this? Thanks in advance!

H.Ruthrash gravatar imageH.Ruthrash ( 2019-05-19 10:59:49 -0500 )edit