alejodosr / drl-landing

MIT License
9 stars 5 forks source link

Problem with catkin_make #1

Open Kluchozaur opened 5 years ago

Kluchozaur commented 5 years ago

Hi! I would like to try your solution but I have a problem with catkin it. I found packages, which are required, but when I use catkin_make, I have this errors with realtime_tools and control_toolbox:

/home/milena/workspace/drl-landing/src/realtime_tools/include/realtime_tools/realtime_publisher.h:232:1: error: expected unqualified-id before ‘using’ using RealtimePublisherSharedPtr = std::shared_ptr<RealtimePublisher >; ^ In file included from /home/milena/workspace/drl-landing/src/control_toolbox/include/control_toolbox/pid.h:49:0, from /home/milena/workspace/drl-landing/src/control_toolbox/include/control_toolbox/pid_gains_setter.h:40, from /home/milena/workspace/drl-landing/src/control_toolbox/src/pid_gains_setter.cpp:30: /home/milena/workspace/drl-landing/src/realtime_tools/include/realtime_tools/realtime_publisher.h:232:1: error: expected unqualified-id before ‘using’ using RealtimePublisherSharedPtr = std::shared_ptr<RealtimePublisher >;

Source: https://github.com/ros-controls/control_toolbox https://github.com/ros-controls/realtime_tools

How can I fix it?

alejodosr commented 5 years ago

Hi,

I did not have to build from source the package "ros-control-toolbox", can't you download it from ubuntu packages?

sudo apt-get install ros-<ros_distro>-control-toolbox ros-<ros_distro>-control-msgs

However, regarding your issue, try to build it in a separate folder and see if you get the same error. If the error persists it is better you ask the developers of controls-toolbox.