Robotics StackExchange | Archived questions

Making custom messages, genc error

Hello,

I'm trying to use catkin_make to put together a package using custom messages. I'm getting an error about "genc". The error is pasted below. I also am getting the same error when trying to custom message tutorial. Any clues on what package I'm missing?

at /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:29 (findpackage): By not providing "Findgenc.cmake" in CMAKEMODULE_PATH this project has asked CMake to find a package configuration file provided by "genc", but CMake did not find one.

Could not find a package configuration file provided by "genc" with any of the following names:

gencConfig.cmake
genc-config.cmake

Add the installation prefix of "genc" to CMAKEPREFIXPATH or set "genc_DIR" to a directory containing one of the above files. If "genc" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first):

/opt/ros/indigo/share/genmsg/cmake/genmsgConfig.cmake:190 (include) /opt/ros/indigo/share/gencpp/cmake/gencppConfig.cmake:165 (findpackage) /opt/ros/indigo/share/messagegeneration/cmake/messagegenerationConfig.cmake:165 (findpackage) /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (findpackage) ratslamros/CMakeLists.txt:11 (find_package)

Asked by illogical_vectors on 2015-05-31 13:21:49 UTC

Comments

Could you add your CMakeLists.txt? Please remove all the boilerplate comments before including it in your question.

Asked by gvdhoorn on 2015-05-31 13:52:11 UTC

Answers