240
笔下虽有千言,胸中实无一策

[Debug] A strange error encountered today in ROS

I reinstalled my ubuntu system and also ROS. I tested slam_karto package when some strange error came out. I still cannot explain it for now.

'vector' in namespace 'std' does not name a type

located in /opt/ros/indigo/include/ros/console.h

Fixed by typing:

$ cd /opt/ros/indigo/include/ros/console.h
$ gedit console.h

add a line:

  #include <vector>

But, why would an error happen in ROS itself?

posted @ 2016-12-03 09:23  CasperWin  阅读(182)  评论(0编辑  收藏  举报