Intelligent-Quads / iq_tutorials

MIT License
446 stars 250 forks source link

I cant able to build my catkin in Mavros #10

Open s7prselv opened 3 years ago

s7prselv commented 3 years ago

Dear Friends, I have Installed the iq_gnc package using the below link: git clone https://github.com/Intelligent-Quads/iq_gnc.git

After Installing, the iq_gnc, I cant able to build my catkin. Kindly help me to resolve this issue.

~/catkin_ws$ catkin build

Profile: default Extending: [cached] /opt/ros/melodic Workspace: /home/ngn/catkin_ws

Build Space: [exists] /home/ngn/catkin_ws/build Devel Space: [exists] /home/ngn/catkin_ws/devel Install Space: [unused] /home/ngn/catkin_ws/install Log Space: [exists] /home/ngn/catkin_ws/logs Source Space: [exists] /home/ngn/catkin_ws/src DESTDIR: [unused] None

Devel Space Layout: linked Install Space Layout: None

Additional CMake Args: None Additional Make Args: None Additional catkin Make Args: None Internal Make Job Server: True Cache Job Environments: False

Whitelisted Packages: None Blacklisted Packages: None

Workspace configuration appears valid.

[build] Found '8' packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> iq_sim
Starting >>> mavlink
Starting >>> mavros_msgs


Errors << mavlink:make /home/ngn/catkin_ws/logs/mavlink/build.make.007.log make[2]: No rule to make target '/home/ngn/catkin_ws/src/mavlink/message_definitions/v1.0/slugs.xml', needed by 'slugs-v2.0-cxx-stamp'. Stop. make[1]: [CMakeFiles/slugs.xml-v2.0.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... make: [all] Error 2 cd /home/ngn/catkin_ws/build/mavlink; catkin build --get-env mavlink | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd - ............................................................................... Failed << mavlink:make [ Exited with code 2 ]
Failed <<< mavlink [ 0.1 seconds ]
Abandoned <<< libmavconn [ Unrelated job failed ]
Abandoned <<< mavros [ Unrelated job failed ]
Abandoned <<< iq_gnc [ Unrelated job failed ]
Abandoned <<< mavros_extras [ Unrelated job failed ]
Abandoned <<< test_mavros [ Unrelated job failed ]
Finished <<< iq_sim [ 0.1 seconds ]
Finished <<< mavros_msgs [ 1.1 seconds ]
[build] Summary: 2 of 8 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 5 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 1.2 seconds total.

Thank you in advance.

Naveen-oops commented 3 years ago

I'm also facing the same issue. I am using ubuntu 20.0 and ROS Neotic. is the problem due to using new versions? I can follow everything other than mavros, mavros_msgs,mavlink installation, when I give catkin build , it shows pakages were abandoned and failed.