aubo_robot icon indicating copy to clipboard operation
aubo_robot copied to clipboard

Cannot compiled in Ubuntu 16.04

Open hai-h-nguyen opened this issue 5 years ago • 7 comments

I cannot compiled the repo.

Error is:

/usr/include/boost/bind/bind.hpp:313:35: error: no match for call to ‘(boost::mfi::mf1<void, industrial_robot_client::joint_trajectory_action::JointTrajectoryAction, actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction<std::allocator > >&>) (industrial_robot_client::joint_trajectory_action::JointTrajectoryAction*&, const actionlib::ServerGoalHandle<control_msgs::FollowJointTrajectoryAction_<std::allocator > >&)’ unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]); ^ In file included from /usr/include/boost/bind/mem_fn.hpp:215:0,

How to solve it?

hai-h-nguyen avatar Dec 19 '18 01:12 hai-h-nguyen

Which gcc version you used to build the package? If you used gcc-6, you can retry with gcc-5.

lg609 avatar Dec 20 '18 06:12 lg609

I used gcc-5.4.0. It had an error when building testIO. Is that one necessary for controlling the real robot? If not, I can leave it out to build again.

hai-h-nguyen avatar Dec 20 '18 08:12 hai-h-nguyen

It's not a necessary part to control the real robot.

lg609 avatar Dec 21 '18 02:12 lg609

What is the best way to remove that part, it seems there are a lot of parts needing the aubo_driver which contains testIO.

hai-h-nguyen avatar Jan 23 '19 18:01 hai-h-nguyen

You can edit the CMakeLists file in https://github.com/lg609/aubo_robot/blob/master/aubo_driver/CMakeLists.txt to cancel the generation of the executable program.

lg609 avatar Jan 25 '19 05:01 lg609

I cannot compiled the repo too.And I want to know whether you have set up it?

tftangming avatar Aug 20 '19 02:08 tftangming

@lg609 Thank you! I retried by g++-5 and it did successfully.

yanliang-wang avatar Nov 15 '19 08:11 yanliang-wang