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

catkin build and make fails

asked 2018-03-08 01:02:09 -0500

Nebula gravatar image

I am following this which is the script installs everything you need: PX4, ROS "Kinetic", the Gazebo 7 simulator, and MAVROS.

source ubuntu_sim_ros_gazebo.sh

here the end message before the error:

Profile:                     default
Extending:             [env] /opt/ros/kinetic
Workspace:                   /home/yograj
-------------------------------------------------
Source Space:       [exists] /home/yograj/src
Log Space:         [missing] /home/yograj/logs
Build Space:        [exists] /home/yograj/build
Devel Space:        [exists] /home/yograj/devel
Install Space:      [unused] /home/yograj/install
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.

NOTE: Forcing CMake to run for each package.
-------------------------------------------------
[build] Found '1' packages in 0.0 seconds.                                     
[build] Updating package table.                                                
Starting  >>> catkin_tools_prebuild                                            
Finished  <<< catkin_tools_prebuild                [ 1.7 seconds ]             
Starting  >>> px4                                                              
_______________________________________________________________________________
Errors     << px4:make /home/yograj/logs/px4/build.make.000.log                
make[2]: *** [uORB/topics/actuator_armed.h] Error 1
make[1]: *** [msg/CMakeFiles/uorb_headers.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd /home/yograj/build/px4; catkin build --get-env px4 | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed     << px4:make                             [ Exited with code 2 ]      
Failed    <<< px4                                  [ 3.9 seconds ]             
[build] Summary: 1 of 2 packages succeeded.                                    
[build]   Ignored:   None.                                                     
[build]   Warnings:  None.                                                     
[build]   Abandoned: None.                                                     
[build]   Failed:    1 packages failed.                                        
[build] Runtime: 5.6 seconds total.                                            
[build] Note: Workspace packages have changed, please re-source setup files to use them.
ROS catkin_ws setup.bash already in .bashrc
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-23 13:42:48 -0500

OmidKarimpour gravatar image

Go to your log file so we can see what is going on:

cd ~/yograj/logs/px4 vim build.make.000.log

most likely the following will solve it if not just post the log file.

pip3 install --user empy numpy keras packaging pip install --user empy numpy keras packaging sudo apt-get install libgstreamer-plugins-base1.0-dev

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-03-08 01:02:09 -0500

Seen: 2,046 times

Last updated: Mar 08 '18