Making custom messages, genc error

asked 2015-05-31 13:21:49 -0500

illogical_vectors gravatar image


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 (find_package): By not providing "Findgenc.cmake" in CMAKE_MODULE_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:


Add the installation prefix of "genc" to CMAKE_PREFIX_PATH 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 (find_package) /opt/ros/indigo/share/message_generation/cmake/message_generationConfig.cmake:165 (find_package) /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package) ratslam_ros/CMakeLists.txt:11 (find_package)

edit retag flag offensive close merge delete



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

gvdhoorn gravatar image gvdhoorn  ( 2015-05-31 13:52:11 -0500 )edit