tesseract-robotics / tesseract_ros_workcell

11 stars 6 forks source link

compile error #4

Open QAbot-zh opened 3 years ago

QAbot-zh commented 3 years ago

I replace this repository in the same workspace with this link (https://github.com/Jmeyer1292/hybrid_planning_experiments), and I meet the error (catkin build ...):

________________________________________________________________________________________
Errors     << twc_msgs:cmake /home/zxy/mp_ws/logs/twc_msgs/build.cmake.004.log          
CMake Error at /home/zxy/mp_ws/build/twc_msgs/cmake/twc_msgs-genmsg.cmake:3 (message):
  Could not find messages which
  '/home/zxy/mp_ws/devel/.private/twc_msgs/share/twc_msgs/msg/ProcessJobAction.msg'
  depends on.  Did you forget to specify generate_messages(DEPENDENCIES ...)?

  Cannot locate message [ProcessPlan] in package [tesseract_msgs] with paths
  [['/home/zxy/mp_ws/src/tesseract/tesseract_msgs/msg']]
Call Stack (most recent call first):
  /opt/ros/kinetic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
  CMakeLists.txt:26 (generate_messages)

cd /home/zxy/mp_ws/build/twc_msgs; catkin build --get-env twc_msgs | catkin env -si  /usr/bin/cmake /home/zxy/mp_ws/src/tesseract_ros_workcell/twc_msgs --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zxy/mp_ws/devel/.private/twc_msgs -DCMAKE_INSTALL_PREFIX=/home/zxy/mp_ws/install -DCMAKE_BUILD_TYPE=Release; cd -
........................................................................................
Failed     << twc_msgs:cmake                                [ Exited with code 1 ]      
Failed    <<< twc_msgs                                      [ 0.6 seconds ]             
Abandoned <<< tesseract_collision                           [ Unrelated job failed ]    
Abandoned <<< tesseract_ros                                 [ Unrelated job failed ]    
Abandoned <<< tesseract_monitoring                          [ Unrelated job failed ]    
Abandoned <<< tesseract_rviz                                [ Unrelated job failed ]    
Abandoned <<< trajopt                                       [ Unrelated job failed ]    
Abandoned <<< tesseract_planning                            [ Unrelated job failed ]    
Abandoned <<< trajopt_examples                              [ Unrelated job failed ]    
Abandoned <<< twc_motion_planning                           [ Unrelated job failed ]    
Abandoned <<< twc_application                               [ Unrelated job failed ]    
Finished  <<< abb_irb120t_moveit_config                     [ 0.1 seconds ]             
Finished  <<< abb_irb6640_moveit_config                     [ 0.1 seconds ]             
Finished  <<< abb_irb2400_moveit_config                     [ 0.1 seconds ]             
Finished  <<< abb_irb1200_7_70_moveit_config                [ 0.1 seconds ]             
Finished  <<< abb_irb1600_6_12_moveit_config                [ 0.1 seconds ]             
Finished  <<< abb_irb1200_5_90_moveit_config                [ 0.1 seconds ]             
Finished  <<< fcl_ros                                       [ 0.6 seconds ]             
[build] Summary: 46 of 56 packages succeeded.                                           
[build]   Ignored:   4 packages were skipped or are blacklisted.                        
[build]   Warnings:  None.                                                              
[build]   Abandoned: 9 packages were abandoned.                                         
[build]   Failed:    1 packages failed.                                                 
[build] Runtime: 3.4 seconds total. 

So what's wrong with my compile process?

Levi-Armstrong commented 3 years ago

What branches are you on for tesseract and tesseract_ros_workcell?

Levi-Armstrong commented 3 years ago

Also tesseract_ros repository.

QAbot-zh commented 3 years ago

The tesseract & tesseract_ros repository is on the kinectic-level branch (my computer system is Ubuntu 16.04,they should be matched). And the both branches of tesseract_ros_workcell (master & feature/Command Language) have been tried, they get the similar error information.

Levi-Armstrong commented 3 years ago

Below are the two options that should work.

Option 1:

tesseract: master tesseract_ros: master tesseract_ros_workcell: master descartes_light: master trajopt_ros: master

Options 2: I am not sure this option will run on 16.04 because it makes use of c++17. You maybe able to pip install cmake to get a newer version of cmake which may solve the issue.

tesseract: feature/CommandLanguage tesseract_ros: feature/CommandLanguage tesseract_ros_workcell: feature/CommandLanguage descartes_light: feature/CommandLanguage trajopt_ros: feature/CommandLanguage

gautz commented 3 years ago

Which dependencies.rosinstall should be used? Can you maybe provide one in this repo? @mpowelson @steviedale