wilselby / ROS_quadrotor_simulator

Quadrotor simulator using ROS, Gazebo, and RVIZ
270 stars 125 forks source link

Not able to finish the catkin_make #14

Closed akshaya95 closed 6 years ago

akshaya95 commented 6 years ago

I am not able to figure out what is wrong with the process I followed as I am doing exactly the same as mentioned in your post. I am stuck at 64% make. Below is the error I am getting.

make[2]: [ROS_quadrotor_simulator/action_controller/CMakeFiles/action_controller.dir/src/actionController.cpp.o] Error 1 make[1]: [ROS_quadrotor_simulator/action_controller/CMakeFiles/action_controller.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... make[2]: [ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/src/moveit_simple_controller_manager.cpp.o] Error 1 make[1]: [ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/all] Error 2 Linking CXX executable /home/akshaya/bhag_ws/devel/lib/rotors_joy_interface/rotors_joy_interface [ 64%] Built target rotors_joy_interface Linking CXX shared library /home/akshaya/bhag_ws/devel/lib/libroll_pitch_yawrate_thrust_controller.so [ 64%] Built target roll_pitch_yawrate_thrust_controller make: [all] Error 2 Invoking "make -j4 -l4" failed

Please let me know how to sort this out. Thank you/

wilselby commented 6 years ago

Sometimes I have to run catkin_make several times in a row for a successful compile. I can't really see anything specific in the output above.

Andreluizfc commented 6 years ago

I do have some problems with the catkin_make, listed below:

[ 77%] Performing patch step for 'glog_src'
/bin/sh: 1: cannot open /home/andre/ros/catkin_ws/src/fix-unused-typedef-warning.patch: No such file
make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-patch] Error 2
make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable /home/andre/ros/catkin_ws/devel/lib/rotors_gazebo/gazebo_pose_publisher
[ 77%] Built target gazebo_pose_publisher
Linking CXX executable /home/andre/ros/catkin_ws/devel/lib/rotors_joy_interface/rotors_joy_interface
[ 77%] Built target rotors_joy_interface
Linking CXX executable /home/andre/ros/catkin_ws/devel/lib/quad_joystick_interface/quad_joystick_interface
[ 77%] Built target quad_joystick_interface
make[1]: *** [rotors_simulator/rotors_control/CMakeFiles/roll_pitch_yawrate_thrust_controller.dir/all] Error 2
make[1]: *** [rotors_simulator/rotors_control/CMakeFiles/lee_position_controller.dir/all] Error 2
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [ROS_quadrotor_simulator/action_controller/CMakeFiles/action_controller.dir/src/actionController.cpp.o] Error 1
make[1]: *** [ROS_quadrotor_simulator/action_controller/CMakeFiles/action_controller.dir/all] Error 2
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/src/moveit_simple_controller_manager.cpp.o] Error 1
make[1]: *** [ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

What might it be?

wilselby commented 6 years ago

This seems odd: fix-unused-typedef-warning.patch: No such file

You could also try just making the glog pakcage by itself.

Andreluizfc commented 6 years ago

For the patch step I copyed the missing files to the /src from my catkin Workspace, then I tried to use the old version of Glog 0.3.4 and it worked. What Glog really do?

wilselby commented 6 years ago

I believe glog is just legacy from some of the other packages I utilized. It's likely not completely necessary.