error during catkin_make
Hello,
I'm completely new to ROS (and Ubuntu) and I'm having some trouble when trying to use the command catkin_make (I'm following the tutorial to configure ROS environment).
The error message is the following:
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
CMake Error at /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
Could not find a package configuration file provided by "std/-msgs" with
any of the following names:
std/-msgsConfig.cmake
std/-msgs-config.cmake
Add the installation prefix of "std/-msgs" to CMAKE_PREFIX_PATH or set
"std/-msgs_DIR" to a directory containing one of the above files. If
"std/-msgs" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
beginner_tutorials/CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
I'm not sure, but I think I did something wrong when I created the beginner_tutorials package in another tutorial. Maybe I mistyped the name of the package std_msgs in the dependencies field? Anyway, even if this is the case, I don't know how to proceed to fix it.
How should I proceed to fix this error?
Please post your CMakeLists.txt