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

I ran into dependency problem with building catkin_ws for kitti_to_rosbag package

asked 2017-06-26 19:14:00 -0500

Cheema gravatar image

I am provided with a kitti dataset at http://kitti.is.tue.mpg.de/kitti/raw_... . I have to convert this dataset into rosbag using the package https://github.com/ethz-asl/kitti_to_... . This package require dependencies provided in the link https://github.com/ethz-asl/kitti_to_... . After cloning kitti_to_rosbag package into my ~/cw/src and performing catkin_make in my catkin workspace produces the following error:

CMake Error at kitti_to_rosbag/kitti_to_rosbag/CMakeLists.txt:4 (find_package): By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin_simple", but CMake did not find one. Could not find a package configuration file provided by "catkin_simple" with any of the following names: catkin_simpleConfig.cmake and catkin_simple-config.cmake

I followed the following commands:

cd ~/cw/src

git clone https://github.com/ethz-asl/kitti_to_...

cd ..

catkin_make

In an attempt to rectify this error, I also cloned all dependent packages(catkin_simple, cv_bridge, eigen_checks ...) provided in the package.xml for kitti_to_rosbag into my catkin/src folder. However, it gives this error

No rule to make target '/home/user/catkin_ws/devel/lib/libgflags.so', needed by '/home/user/catkin_ws/devel/lib/libeigen_checks.so

Any help would be greatly appreciated . Having a deadline for this task, I am open to alternative packages/methods.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-26 22:12:50 -0500

ahendrix gravatar image

Quick answer since you're in a hurry:

It looks like you're missing dependencies. Did you install them? Try to install them with rosdep install --from-paths src -i -y -r from your catkin_ws folder.

edit flag offensive delete link more

Comments

After rosdep command and sourcing.It still gives the following error: No rule to make target '/home/user/catkin_ws/devel/lib/libgflags.so', needed by '/home/user/catkin_ws/devel/lib/libeigen_checks.so CMakeFiles/Makefile2:1694: recipe for target 'eigen_checks/CMakeFiles/eigen_checks.dir/all' failed

Cheema gravatar image Cheema  ( 2017-06-26 23:04:32 -0500 )edit

Looks like you need to install gflags and eigen too.

ahendrix gravatar image ahendrix  ( 2017-06-27 10:46:48 -0500 )edit

I cloned gflags and eigen into my ~/catkin_ws/src. Is it the right way to"install" these packages? Your help is greatly appreciated.

Cheema gravatar image Cheema  ( 2017-06-27 13:29:19 -0500 )edit
1

No. Install them with apt.

ahendrix gravatar image ahendrix  ( 2017-06-27 22:09:08 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-06-26 19:14:00 -0500

Seen: 1,330 times

Last updated: Jun 26 '17