Closed ericluwj closed 2 years ago
From the error it seems that it's not able to find the sdf/sdf.hh
file that is provided by the libsdformat9-dev
package. This package is a dependency of RMF
and should be installed if you followed the instructions step by step. If the package is installed and the problem persists then something might be wrong in your specific setup preventing the compilation from finding the correct files.
Following the instructions in https://github.com/open-rmf/rmf you should have executed the rosdep
dependencies installation step:
cd ~/rmf_ws
rosdep install --from-paths src --ignore-src --rosdistro foxy -yr
This step installs the dependency packages for the compilation of RMF
, specifically for the one involved in your case: the package rmf_robot_sim_gazebo_plugins
would install ros-foxy-gazebo-dev
that will install its dependency libgazebo11-dev
that will install its dependency libsdformat9-dev
, the package that contains the missing files.
I will proceed to close the issue since I tested on a clean installation of focal
with foxy
following the instructions. libsdformat9-dev
installs correctly and the compilation of the RMF
throws no errors.
Bug report
Required information:
Description of the bug