Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing when using catkin Build #87

Open
RibhavOjha opened this issue Oct 15, 2023 · 4 comments
Open

Build failing when using catkin Build #87

RibhavOjha opened this issue Oct 15, 2023 · 4 comments

Comments

@RibhavOjha
Copy link

Hi
I am in the catkin build step. The build fails with most of them being abandoned and few failing. Can you please help.

 catkin build
-----------------------------------------------------------------------------------------------
Profile:                     default
Extending:        [explicit] /opt/ros/noetic
Workspace:                   /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa
-----------------------------------------------------------------------------------------------
Build Space:        [exists] /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/build
Devel Space:        [exists] /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/devel
Install Space:      [unused] /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/install
Log Space:          [exists] /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/logs
Source Space:       [exists] /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/src
DESTDIR:            [unused] None
-----------------------------------------------------------------------------------------------
Devel Space Layout:          merged
Install Space Layout:        None
-----------------------------------------------------------------------------------------------
Additional CMake Args:       -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-fdiagnostics-color
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
-----------------------------------------------------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
-----------------------------------------------------------------------------------------------
Workspace configuration appears valid.
-----------------------------------------------------------------------------------------------
[build] Found 71 packages in 0.0 seconds.                                                                                                                                                                 
[build] Package table is up to date.                                                                                                                                                                      
Starting  >>> catkin_boost_python_buildtool                                                                                                                                                               
Starting  >>> catkin_simple                                                                                                                                                                               
Starting  >>> decomp_util                                                                                                                                                                                 
Starting  >>> mav_msgs                                                                                                                                                                                    
Starting  >>> mav_state_machine_msgs                                                                                                                                                                      
Starting  >>> mav_system_msgs                                                                                                                                                                             
Starting  >>> motion_primitive_library                                                                                                                                                                    
Starting  >>> open3d_conversions                                                                                                                                                                          
Finished  <<< catkin_simple                                     [ 0.1 seconds ]                                                                                                                           
Starting  >>> assimp_catkin                                                                                                                                                                               
Finished  <<< catkin_boost_python_buildtool                     [ 0.2 seconds ]                                                                                                                           
Finished  <<< mav_system_msgs                                   [ 0.5 seconds ]                                                                                                                           
Finished  <<< mav_state_machine_msgs                            [ 0.6 seconds ]                                                                                                                           
Starting  >>> catkin_boost_python_buildtool_test                                                                                                                                                          
__________________________________________________________________________________________________________________________________________________________________________________________________________
Errors     << open3d_conversions:make /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/logs/open3d_conversions/build.make.004.log                                                               
In file included from /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/src/open3d_conversions.cpp:15:0:
/home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/open3d_conversions/include/open3d_conversions/open3d_conversions.h:19:10: fatal error: Open3D/Open3D.h: No such file or directory
 #include <Open3D/Open3D.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/open3d_conversions.dir/build.make:63: CMakeFiles/open3d_conversions.dir/src/open3d_conversions.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:305: CMakeFiles/open3d_conversions.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/build/open3d_conversions; catkin build --get-env open3d_conversions | catkin env -si  /usr/bin/make --jobserver-auth=3,4; cd -

..........................................................................................................................................................................................................
Failed     << open3d_conversions:make                           [ Exited with code 2 ]                                                                                                                    
Failed    <<< open3d_conversions                                [ 0.8 seconds ]                                                                                                                           
Abandoned <<< decomp_ros_msgs                                   [ Unrelated job failed ]                                                                                                                  
Abandoned <<< eigen_catkin                                      [ Unrelated job failed ]                                                                                                                  
Abandoned <<< flightrender                                      [ Unrelated job failed ]                                                                                                                  
Abandoned <<< gflags_catkin                                     [ Unrelated job failed ]                                                                                                                  
Abandoned <<< minimum_jerk_trajectories                         [ Unrelated job failed ]                                                                                                                  
Abandoned <<< planning_ros_msgs                                 [ Unrelated job failed ]                                                                                                                  
Abandoned <<< quad_launch_files                                 [ Unrelated job failed ]                                                                                                                  
Abandoned <<< quadrotor_msgs                                    [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_comm                                       [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_description                                [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_evaluation                                 [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpg_single_board_io                               [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpgq_msgs                                         [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rqt_rotors                                        [ Unrelated job failed ]                                                                                                                  
Abandoned <<< decomp_ros_utils                                  [ Unrelated job failed ]                                                                                                                  
Abandoned <<< decomp_test_node                                  [ Unrelated job failed ]                                                                                                                  
Abandoned <<< glog_catkin                                       [ Unrelated job failed ]                                                                                                                  
Abandoned <<< eigen_checks                                      [ Unrelated job failed ]                                                                                                                  
Abandoned <<< mav_comm                                          [ Unrelated job failed ]                                                                                                                  
Abandoned <<< mav_planning_msgs                                 [ Unrelated job failed ]                                                                                                                  
Abandoned <<< minkindr                                          [ Unrelated job failed ]                                                                                                                  
Abandoned <<< minkindr_conversions                              [ Unrelated job failed ]                                                                                                                  
Abandoned <<< mpl_external_planner                              [ Unrelated job failed ]                                                                                                                  
Abandoned <<< numpy_eigen                                       [ Unrelated job failed ]                                                                                                                  
Abandoned <<< minkindr_python                                   [ Unrelated job failed ]                                                                                                                  
Abandoned <<< planning_ros_utils                                [ Unrelated job failed ]                                                                                                                  
Abandoned <<< agile_autonomy_msgs                               [ Unrelated job failed ]                                                                                                                  
Abandoned <<< quadrotor_common                                  [ Unrelated job failed ]                                                                                                                  
Abandoned <<< polynomial_trajectories                           [ Unrelated job failed ]                                                                                                                  
Abandoned <<< position_controller                               [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_control                                    [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_gazebo_plugins                             [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_gazebo                                     [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_hil_interface                              [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_joy_interface                              [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rotors_simulator                                  [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpg_common                                        [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpg_rotors_interface                              [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpgq_common                                       [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpgq_command_bridge                               [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpgq_components                                   [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpgq_simulator                                    [ Unrelated job failed ]                                                                                                                  
Abandoned <<< example_pcd                                       [ Unrelated job failed ]                                                                                                                  
Abandoned <<< example_vision                                    [ Unrelated job failed ]                                                                                                                  
Abandoned <<< example_vison                                     [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rqt_quad_gui                                      [ Unrelated job failed ]                                                                                                                  
Abandoned <<< sbus_bridge                                       [ Unrelated job failed ]                                                                                                                  
Abandoned <<< manual_flight_assistant                           [ Unrelated job failed ]                                                                                                                  
Abandoned <<< state_predictor                                   [ Unrelated job failed ]                                                                                                                  
Abandoned <<< trajectory_generation_helper                      [ Unrelated job failed ]                                                                                                                  
Abandoned <<< autopilot                                         [ Unrelated job failed ]                                                                                                                  
Abandoned <<< agile_autonomy_utils                              [ Unrelated job failed ]                                                                                                                  
Abandoned <<< example_control                                   [ Unrelated job failed ]                                                                                                                  
Abandoned <<< mpl_test_node                                     [ Unrelated job failed ]                                                                                                                  
Abandoned <<< planner_learning                                  [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpg_mpc                                           [ Unrelated job failed ]                                                                                                                  
Abandoned <<< agile_autonomy                                    [ Unrelated job failed ]                                                                                                                  
Abandoned <<< rpg_quadrotor_integration_test                    [ Unrelated job failed ]                                                                                                                  
Abandoned <<< traj_sampler                                      [ Unrelated job failed ]                                                                                                                  
Abandoned <<< trajectory_visualizer                             [ Unrelated job failed ]                                                                                                                  
Abandoned <<< vbat_thrust_calibration                           [ Unrelated job failed ]                                                                                                                  
Finished  <<< assimp_catkin                                     [ 0.3 seconds ]                                                                                                                           
Finished  <<< decomp_util                                       [ 0.4 seconds ]                                                                                                                           
Finished  <<< mav_msgs                                          [ 0.6 seconds ]                                                                                                                           
Finished  <<< motion_primitive_library                          [ 0.8 seconds ]                                                                                                                           
__________________________________________________________________________________________________________________________________________________________________________________________________________
Errors     << catkin_boost_python_buildtool_test:cmake /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/logs/catkin_boost_python_buildtool_test/build.cmake.002.log                             
CMake Warning (dev) at CMakeLists.txt:2 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /home/ribhavojha/anaconda3/lib/cmake/Boost-1.73.0/BoostConfig.cmake:141 (find_package):
  Could not find a configuration file for package "boost_python" that exactly
  matches requested version "1.73.0".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/boost_python-1.71.0/boost_python-config.cmake, version: 1.71.0
    /lib/x86_64-linux-gnu/cmake/boost_python-1.71.0/boost_python-config.cmake, version: 1.71.0

Call Stack (most recent call first):
  /home/ribhavojha/anaconda3/lib/cmake/Boost-1.73.0/BoostConfig.cmake:258 (boost_find_component)
  /usr/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package)
  /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/src/catkin_boost_python_buildtool/catkin_boost_python_buildtool/cmake/add_python_export_library.cmake:133 (find_package)
  CMakeLists.txt:27 (add_python_export_library)


cd /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/build/catkin_boost_python_buildtool_test; catkin build --get-env catkin_boost_python_buildtool_test | catkin env -si  /usr/bin/cmake /home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/src/catkin_boost_python_buildtool/catkin_boost_python_buildtool_test --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/devel -DCMAKE_INSTALL_PREFIX=/home/ribhavojha/Desktop/agil2/agile_autonomy_ws/catkin_aa/install -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-fdiagnostics-color; cd -

..........................................................................................................................................................................................................
Failed     << catkin_boost_python_buildtool_test:cmake          [ Exited with code 1 ]                                                                                                                    
Failed    <<< catkin_boost_python_buildtool_test                [ 0.9 seconds ]                                                                                                                           
[build] Summary: 8 of 71 packages succeeded.                                                                                                                                                              
[build]   Ignored:   None.                                                                                                                                                                                
[build]   Warnings:  None.                                                                                                                                                                                
[build]   Abandoned: 61 packages were abandoned.                                                                                                                                                          
[build]   Failed:    2 packages failed.                                                                                                                                                                   
[build] Runtime: 2.5 seconds total.   
@Arcane-01
Copy link

The issue for open3d_conversions can be resolved by building Open3D from source and renaming the include file of open3d to #include "open3d/Open3D.h". You can refer to #10, it addresses a similar problem.

@yifeichen2024
Copy link

I have the same problem with the second package, did you solve it?

@RibhavOjha
Copy link
Author

I have the same problem with the second package, did you solve it?

I stopped using agile_autonomy and shifted to agilicious instead which is a superior and better flight stack and allows easier integration into your personal projects.

@yifeichen2024
Copy link

Ok. I just solve this problem, I will try playing with it a little bit. I will also try agilicious. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants