Robotics StackExchange | Archived questions

rosmake error: cannot find -lblas

got the files from another person who is using ros fuerte(I don't know if this matters). When I try to use rosmake to build the package, the following error message pops up after couple of seconds and don't know why.. Need help..

/usr/bin/ld: cannot find -lblas
/usr/bin/ld: cannot find -llapack
collect2: ld returned 1 exit status
make[4]: *** [../bin/drone_stateestimation] Error 1
make[4]: Leaving directory `/home/jialiang/ros_workspace/src/tum_ardrone/build'
make[3]: *** [CMakeFiles/drone_stateestimation.dir/all] Error 2
make[3]: Leaving directory `/home/jialiang/ros_workspace/src/tum_ardrone/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jialiang/ros_workspace/src/tum_ardrone/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jialiang/ros_workspace/src/tum_ardrone'

Asked by JTan on 2013-12-30 15:45:08 UTC

Comments

Answers

  1. Do 'the files' declare a dependency on any of those libraries?
  2. Do you actually have LAPACK installed on your system?

Seeing as you are trying to build tum_ardrone nodes, and drone_stateestimation in particular, it would seem tum-vision/tum_ardrone/manifest.xml is the associated manifest file. That actually contains proper rosdep keys:

<rosdep name="libblas-dev"/>
<rosdep name="liblapack-dev"/>

So you should be able to just use rosdep to check and install the dependencies.

Asked by gvdhoorn on 2013-12-31 00:49:30 UTC

Comments