ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosserial compile error: missing rosserial_msgs/TopicInfo.h [closed]

asked 2014-08-13 16:01:31 -0500

Pat gravatar image

updated 2014-08-14 01:17:49 -0500

BennyRe gravatar image

Hi, I'm using Ubuntu 14.04 with ros indigo. I've dowloaded the rosserial source from git git clone https://github.com/ros-drivers/rosserial When I try to compile in catkin_ws I get the message that rosserial_msgs/TopicInfo.h is missing (see below). Now I'm wondering where this file is. It's not in the repository. Where can I get it? ...

[  4%] Building CXX object rosserial/rosserial_server/CMakeFiles/rosserial_server_serial_node.dir/src/serial_node.cpp.o
[  4%] Building CXX object rosserial/rosserial_server/CMakeFiles/rosserial_server_socket_node.dir/src/socket_node.cpp.o
In file included from /home/pat/catkin_ws/src/rosserial/rosserial_server/include/rosserial_server/serial_session.h:43:0,
                 from /home/pat/catkin_ws/src/rosserial/rosserial_server/src/serial_node.cpp:40:
/home/pat/catkin_ws/src/rosserial/rosserial_server/include/rosserial_server/session.h:44:38: fatal error: rosserial_msgs/TopicInfo.h: Datei oder Verzeichnis nicht gefunden
 #include <rosserial_msgs/TopicInfo.h>
                                      ^
compilation terminated.
In file included from /home/pat/catkin_ws/src/rosserial/rosserial_server/src/socket_node.cpp:40:0:
/home/pat/catkin_ws/src/rosserial/rosserial_server/include/rosserial_server/session.h:44:38: fatal error: rosserial_msgs/TopicInfo.h: Datei oder Verzeichnis nicht gefunden
 #include <rosserial_msgs/TopicInfo.h>
                                      ^
compilation terminated.

...

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Pat
close date 2014-08-17 08:21:37.014670

Comments

You cloned the complete repository right?

BennyRe gravatar image BennyRe  ( 2014-08-14 01:19:45 -0500 )edit

I assume. I used git clone https://github.com/ros-drivers/rosserial in catkin_ws/src

Pat gravatar image Pat  ( 2014-08-14 03:41:49 -0500 )edit

Issue disapear due to fix https://github.com/ros-drivers/rosser...

Pat gravatar image Pat  ( 2014-08-17 08:25:29 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-08-14 01:47:42 -0500

ahendrix gravatar image

It looks like this is a bug in rosserial_server; the build file is missing a dependency between the header generation and the compile step which is causing them to be run out of order.

This sort of thing will sometimes go away if you run it enough, but you should really file a bug on the rosserial issue tracker about it.

edit flag offensive delete link more
0

answered 2014-08-14 03:39:39 -0500

Pat gravatar image

THX I opened an issue here: https://github.com/ros-drivers/rosser...

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-08-13 16:01:31 -0500

Seen: 906 times

Last updated: Aug 14 '14