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

can‘t install kobuki

asked 2016-10-04 01:14:19 -0600

saver54012 gravatar image

updated 2016-10-04 01:40:27 -0600

gvdhoorn gravatar image

Hello, everybody

I am New-hand in ROS,

I wnat to install TurtleBot to study,

but I meet the problem:

[  4%] Built target unflasher
Scanning dependencies of target kobuki_dock_drive
[  4%] Building CXX object kobuki_core/kobuki_dock_drive/CMakeFiles/kobuki_dock_drive.dir/src/dock_drive.cpp.o
In file included from /home/tonywang/kobuki/src/kobuki_core/kobuki_dock_drive/src/dock_drive.cpp:38:0:
/home/tonywang/kobuki/src/kobuki_core/kobuki_dock_drive/include/kobuki_dock_drive/dock_drive.hpp:51:42: fatal error: ecl/geometry/legacy_pose2d.hpp: 沒有此一檔案或目錄
 #include <ecl/geometry/legacy_pose2d.hpp>
compilation terminated.
make[2]: *** [kobuki_core/kobuki_dock_drive/CMakeFiles/kobuki_dock_drive.dir/src/dock_drive.cpp.o] Error 1
make[1]: *** [kobuki_core/kobuki_dock_drive/CMakeFiles/kobuki_dock_drive.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j1 -l1" failed

image description

I have above problem when I install kobuki,

Could everybody teach me how could I solve it?


edit retag flag offensive close merge delete


First: please tell us why you want to build the kobuki packages from source. They have been released into Hydro, Indigo and Kinetic, so an apt-get install ros-indigo-kobuki-core should just work.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-04 01:42:25 -0600 )edit

Second, apparently 沒有此一檔案或目錄 means "no such file or directory": do you have ecl installed? Please tell us which OS this is, how you installed ROS (which tutorial you followed) and how you setup your workspace (git clone .., rosdep, etc).

gvdhoorn gravatar image gvdhoorn  ( 2016-10-04 01:43:27 -0600 )edit

thank gvdhoorn for answering!! I just followed this tutorial "",I have the troble at Step 2.1,I cant complete "1.3.2 Workspaces" because $catkin_make in ~/kobuki is failed

I have "ecl" file by git clone ,but I dont know it should be installed at where

saver54012 gravatar image saver54012  ( 2016-10-04 21:01:27 -0600 )edit

I installed my ROS Indigo from

saver54012 gravatar image saver54012  ( 2016-10-04 21:05:59 -0600 )edit

re: turtlebot installation: have you run all the rosdep install --from-paths src -i -y? Did those not install ecl?

gvdhoorn gravatar image gvdhoorn  ( 2016-10-05 00:04:57 -0600 )edit

I meet the same problem.And I do not know how to solve it

Nick Hoo gravatar image Nick Hoo  ( 2016-10-07 20:49:18 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-11-09 00:46:27 -0600

Daniel Stonier gravatar image

The ecl and kobuki both got a minor (synchronised) update that are still in the release pipeline. The problem you have here is you have the as yet unreleased kobuki sources, but have the old released ecl deb.

To solve it for now, just add ecl_core to your kobuki workspace...i.e.

cd ~/kobuki/src
wstool set ecl_core --git --version=release/0.61-indigo-kinetic
wstool set ecl_navigation --git --version=release/0.60-indigo-kinetic
wstool update ecl_core
wstool update ecl_navigation

This will be resolved by:

  • ecl_core 0.61.15, ecl_navigation 0.60.3, kobuki_core 0.6.5 and kobuki 0.6.8 on kinetic
  • ecl_core 0.61.15, ecl_navigation 0.60.3, kobuki_core 0.7.2 and kobuki 0.7.2 on kinetic
edit flag offensive delete link more


I had the same problem on a Jetson TK1 (Linux4Tegra -> Ubuntu 14.04) with ros-indigo. Here the kobuki_node is located in ~/catkin_ws/src/. Your soultion is nice but first I needed to wstool init ~/catkin_ws/src, then run wstool set and update commands. So make sure to have wstool init first :-)

glukon gravatar image glukon  ( 2017-10-24 04:06:12 -0600 )edit

Question Tools

1 follower


Asked: 2016-10-04 01:14:19 -0600

Seen: 1,542 times

Last updated: Nov 09 '16