ethz-asl / rovio

Other
1.14k stars 507 forks source link

Build error. Fix Readme instructions #183

Open guillermogb opened 6 years ago

guillermogb commented 6 years ago

Catkin build error in Ubuntu 16.04

Build error:

[build] Package table is up to date.
Starting >>> kindr
Finished <<< kindr [ 0.2 seconds ]
Starting >>> rovio


Errors << rovio:cmake /home/xxx/ros/catkin_ws/logs/rovio/build.cmake.008.log
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLUT_Xmu_LIBRARY (ADVANCED) linked by target "rovio" in directory /home/xxx/ros/catkin_ws/src/rovio

Solution: (https://ubuntuforums.org/showthread.php?t=1703770) In the installation instructions, it would be good to add:

sudo apt-get install libxmu-dev libxi-dev

Additionally, it would be nice to specify more clearly (e.g., with commands) where to clone the lightweight_filtering repository and where to run the command git submodule update --init --recursive.

Kind regards.

lguanrui commented 6 years ago

For cloning the lightweight_filtering repo, you first need to

cd rovio/

then run

git submodule update --init --recursive