0
$\begingroup$

Rosanswers logo

Has anyone tried this tutorial of ROS for creating messages in order to communicate with the nodes. I am using ubuntu 12.04 ver and ROS Hydro for this.

The error what i am getting is that i am not able to catkin_make it. It gives some error regarding the make file already installed in ros directory of linux in the folder and i am not able to generate the source file or anything.

Any feedback regarding this is welcomed...

thnks


Originally posted by sonny on ROS Answers with karma: 33 on 2014-04-06

Post score: 0


Original comments

Comment by Tirjen on 2014-04-07:
Please give more details of what you are doing and of the error you get.

Comment by sonny on 2014-04-07:
I am getting an error smthing like this,

CMake Error at /opt/ros/hydro/share/genmsg/cmake/genmsg-extras.cmake:85 (message): add_message_files() directory not found: /home/traininghes/catkin_ws/src/hrsl/msg Call Stack (most recent call first): hrsl/CMakeLists.txt:48 (add_message_files)

-- Configuring incomplete, errors occurred! Invoking "cmake" failed

Comment by Tirjen on 2014-04-07:
Please edit also your question posting your CMakeLists.txt.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

It looks like the ros setup script has not been previosuly executed:

$ source /opt/ros/XXX/setup.bash

where xxx is the ros distro name, ie: hydro, jade, etc...


Originally posted by Pablo Iñigo Blasco with karma: 2982 on 2016-06-04

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

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