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

Compilation Problem with gazebo_ros_pkgs

asked 2018-09-16 05:41:52 -0500

b.slmn gravatar image

updated 2018-09-16 05:49:21 -0500

gvdhoorn gravatar image

Hi,

Working on Kinetic version I get the following error while compiling of gazebo_ros_pkgs. It says that class_loader.hpp doesn't exist. I manually added this file to pluginlib directory in my system, but the problem did not solve.

In file included from /home/bahare/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/include/gazebo_ros_control/gazebo_ros_control_plugin.h:58:0,
                 from /home/bahare/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/gazebo_ros_control_plugin.cpp:45:
/opt/ros/kinetic/include/controller_manager/controller_manager.h:45:38: fatal error: pluginlib/class_loader.hpp: No such file or directory
compilation terminated.*
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-11-06 18:54:16 -0500

cyberguy42 gravatar image

I ran into a similar problem. There were 2 different ways I found to solve it: 1. changing the '.hpp' to '.h' 2. creating symlinks in the pluginlib include directory for each relevant file, ex: ln -s class_loader.h class_loader.hpp

edit flag offensive delete link more

Comments

Don't create symlinks.

If you're working with a newer version of pluginlib, upgrade your code or use conditional compilation.

gvdhoorn gravatar image gvdhoorn  ( 2018-11-07 02:21:53 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-09-16 05:41:52 -0500

Seen: 722 times

Last updated: Nov 06 '18