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

Error installing Laser scan tools for ROS

asked 2014-10-20 21:27:17 -0500

Morpheus gravatar image

updated 2014-10-20 23:25:43 -0500

ahendrix gravatar image

I am trying to install Laser scan tools from git clone , on Hydro. Every time I try to run Catkin_make, I get an error:

[ 41%] Performing configure step for 'csm_src'
-- Create a file named 'local_config/local-brent-Dell-DM051.cmake' if you want to add options.
gsl home: 
FATAL_ERROR,FindGSL.cmake: gsl-config not found. Please set it manually. GSL_CONFIG=GSL_CONFIG-NOTFOUND
CMake Error at sm/CMakeLists.txt:30 (MESSAGE):
  GSL not found.

-- Configuring incomplete, errors occurred!
make[2]: *** [scan_tools/laser_scan_matcher/csm/stamp/csm_src-configure] Error 1
make[1]: *** [scan_tools/laser_scan_matcher/CMakeFiles/csm_src.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable /home/brent/catkin_ws/devel/lib/ncd_parser/ncd_parser
[ 41%] Built target ncd_parser
make: *** [all] Error 2
Invoking "make" failed

I am not sure what I am doing wrong.

Thanks for your help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-20 23:30:47 -0500

ahendrix gravatar image

This is the typical error that you get from CMake when it can't find a package.

In this particular case, the package it can't find is GSL.

You can try installing GSL with sudo apt-get install libgsl0-dev.

More generally, you can install all of the dependencies for your workspace with rosdep:

rosdep install --from-paths src -i
edit flag offensive delete link more


Worked perfect! Thank you!

Morpheus gravatar image Morpheus  ( 2014-10-21 21:53:53 -0500 )edit

Question Tools

1 follower


Asked: 2014-10-20 21:27:17 -0500

Seen: 1,162 times

Last updated: Oct 20 '14