0
$\begingroup$

Rosanswers logo

Hey,

I wish to learn ros and I started by doing the tutorials available on ros.org.

But in the "Writing a Simple Service and Client" tutorial, when it say to modify the file ~/catkin_ws/src/beginner_tutorials/CMakeLists.txt. I modified the secure file that is in ~/catkin_ws/src using sudo gedit CMakeLists. Before that, it worked but now I have a mistake when I do catkin_make.

CMake Error at /opt/ros/kinetic/share/genmsg/cmake/genmsg-extras.cmake:94 (message): add_message_files() directory not found: /home/audensiel/catkin_ws/src/msg

Call Stack (most recent call first): CMakeLists.txt:9 (add_message_files)

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

When I remove all files and folders and I restart at the beginning (the tutorials), and i created mkdir -p ~/catkin_ws/src ... The file I modified previously is always the same. I think this is my problem, so if someone can give me the contents of this file or tell me how to retrieve the original.

Thank for your help.

William


Originally posted by w.fradin on ROS Answers with karma: 38 on 2017-03-08

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Please see #q227161 (but replace indigo withkinetic, obviously).


Originally posted by gvdhoorn with karma: 86574 on 2017-03-08

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by w.fradin on 2017-03-08:
Thank a lot, problem solved !

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.