Exercise 2.5 I have catkin_make error

topic_24/CMakeLists.txt:10 (find_package)


-- Could not find the required component 'message_generarion'. 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
  "message_generarion" with any of the following names:

    message_generarionConfig.cmake
    message_generarion-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/user/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:598: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

I have error like this. I think I don’t have message_generation package in my webshell(?).

this is my CMakeFile.txt, find package part.
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
message_generarion
)

Hey @hknam3433,

You have misspelled message_generation as message_generarion. Please correct that and let’s see.


By the way, welcome to the Community.