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

Compilation errors after ROS update (ros/datatypes.h missing?)

asked 2014-01-26 22:18:30 -0500

rolf gravatar image

Since today I am receiving the following error when trying to compile my packages. No changes were made to my packages and they compiled just fine last week. I did update Ubuntu and ROS over the weekend.

/opt/ros/hydro/include/ros/serialization.h:40:27: fatal error: ros/datatypes.h: No such file or directory
  compilation terminated.

I am using Ubuntu 13.04 and ROS Hydro.

Any help is appreciated!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-01-26 22:40:26 -0500

lfelipesv gravatar image

I think I had the same problem a week ago.

Try these commands:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Let me know if this works.

Another problem (if you plan to use kinect) I had with Ubuntu 13.04 was with the openni libraries. I needed to go back to the 12.04. Regards

edit flag offensive delete link more

Comments

Thanks! These commands gave me some useful error messages which I could resolve! :) Apparently some dependencies on my machine were messed up. I ended up reinstalling most of ros-hydro which worked.

rolf gravatar image rolf  ( 2014-01-27 00:11:37 -0500 )edit
0

answered 2014-02-07 07:20:19 -0500

stebl gravatar image

For anyone else with this issue, this fixed the dependency problem for me -

sudo apt-get update
sudo apt-get -f install
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-01-26 22:18:30 -0500

Seen: 342 times

Last updated: Feb 07 '14