Ask Your Question

Error building ros2 package

asked 2020-03-29 22:29:54 -0600

AHJL001 gravatar image

Sorry to bother, does anyone know what does the below error is requesting me to do?

 fatal error: gazebo_ros/node.hpp: No such file or directory
 #include <gazebo_ros/node.hpp>
compilation terminated.
make[2]: *** [CMakeFiles/door.dir/src/door.cpp.o] Error 1
make[1]: *** [CMakeFiles/door.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-30 02:53:42 -0600

AHJL001 gravatar image

I solved this by installing ros2 gazebo from debian packages.

Enter sudo apt install ros-<distro>-gazebo-ros-pkgs

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-03-29 22:29:54 -0600

Seen: 306 times

Last updated: Mar 30 '20