Compiler error: Expected constructor, destructor, or type conversion in octomap_server_nodelet.cpp

asked 2019-11-22 06:12:46 -0500

anonymous user


updated 2019-11-22 06:43:03 -0500

gvdhoorn gravatar image

I'm currently trying to build a project found here : I'm using ROS Medolic on Ubuntu 18. 04.3 LTS

When running catkin_make -j8 i get the following error:

/home/rwilliams/trav_nav_indigo_ws/src/ms_octomap_server/src/octomap_server_nodelet.cpp:60:24: error: expected constructor, destructor, or type conversion before ‘(’ token
 PLUGINLIB_DECLARE_CLASS(ms_octomap_server, OctomapServerNodelet, ms_octomap_server::OctomapServerNodelet, nodelet::Nodelet);

I have checked that I have the packages required installed.

Any ideas on how to fix this issue?

edit retag flag offensive close merge delete