когда я запускаю команду catkin_make
, у меня есть эта ошибка в моем catkin_ws, вызывающем "make -j4 -l4" failed
, это произошло после создания нового рабочего пространства java (нет проблем со сборкой для рабочего пространства java), у меня нет этой ошибки в моем catkin_ws до создания ROSJAVA_ws я думаю, что проблема исходит из gradle, как я могу это исправить?
---
Base path: /home/samia/catkin_ws
Source space: /home/samia/catkin_ws/src
Build space: /home/samia/catkin_ws/build
Devel space: /home/samia/catkin_ws/devel
Install space: /home/samia/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/samia/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/samia/catkin_ws/build"
####
[ 0%] Built target actionlib_msgs_generate_messages_cpp
[ 0%] Built target _smach_tutorials_generate_messages_check_deps_TestActionFeedback
[ 0%] Built target _smach_tutorials_generate_messages_check_deps_TestGoal
[ 0%] Built target _smach_tutorials_generate_messages_check_deps_TestAction
[ 0%] Built target _smach_tutorials_generate_messages_check_deps_TestActionGoal
[ 0%] Built target actionlib_msgs_generate_messages_py
[ 0%] Built target actionlib_msgs_generate_messages_lisp
[ 0%] Built target _smach_tutorials_generate_messages_check_deps_TestResult
[ 0%] Built target _smach_tutorials_generate_messages_check_deps_TestActionResult
[ 0%] Built target _smach_tutorials_generate_messages_check_deps_TestFeedback
[ 0%] Built target actionlib_msgs_generate_messages_nodejs
[ 0%] Generating Java gradle project from smach_tutorials
[ 0%] Built target actionlib_msgs_generate_messages_eus
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target _smach_msgs_generate_messages_check_deps_SmachContainerStructure
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target _smach_msgs_generate_messages_check_deps_SmachContainerStatus
[ 0%] Built target _smach_msgs_generate_messages_check_deps_SmachContainerInitialStatusCmd
[ 0%] Built target std_msgs_generate_messages_eus
[ 0%] Compiling Java code for smach_msgs
[ 0%] Built target std_msgs_generate_messages_nodejs
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target _ur_msgs_generate_messages_check_deps_Digital
[ 0%] Built target _ur_msgs_generate_messages_check_deps_IOStates
[ 0%] Built target _ur_msgs_generate_messages_check_deps_MasterboardDataMsg
[ 0%] Built target _ur_msgs_generate_messages_check_deps_RobotModeDataMsg
[ 0%] Built target _ur_msgs_generate_messages_check_deps_ToolDataMsg
[ 1%] Built target smach_msgs_generate_messages_java_gradle
[ 1%] Built target _ur_msgs_generate_messages_check_deps_SetIO
[ 1%] Built target _ur_msgs_generate_messages_check_deps_Analog
[ 1%] Built target _ur_msgs_generate_messages_check_deps_RobotStateRTMsg
[ 2%] Compiling Java code for ur_msgs
[ 2%] Built target _ur_msgs_generate_messages_check_deps_SetPayload
[ 2%] Built target _beginner_tutorials_generate_messages_check_deps_Num
[ 2%] Compiling Java code for beginner_tutorials
[ 2%] Built target _beginner_tutorials_generate_messages_check_deps_AddTwoInts
[ 2%] Built target ur_msgs_generate_messages_java_gradle
[ 2%] Built target _actionlib_generate_messages_check_deps_TwoIntsGoal
[ 3%] Built target beginner_tutorials_generate_messages_java_gradle
[ 3%] Built target _actionlib_generate_messages_check_deps_TwoIntsResult
[ 3%] Built target _actionlib_generate_messages_check_deps_TestRequestActionFeedback
[ 3%] Built target _actionlib_generate_messages_check_deps_TestActionResult
[ 3%] Built target _actionlib_generate_messages_check_deps_TwoIntsActionResult
Traceback (most recent call last):
File "/opt/ros/kinetic/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in <module>
genjava.main(sys.argv)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main
gradle_project.create(args.package, args.output_dir)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create
raise IOError("could not find %s among message packages. Does the package have a <build_depend> on message_generation in its package.xml?" % msg_pkg_name)
IOError: could not find smach_tutorials among message packages. Does the package have a <build_depend> on message_generation in its package.xml?
[ 3%] Built target _actionlib_generate_messages_check_deps_TestGoal
executive_smach_tutorials/CMakeFiles/smach_tutorials_generate_messages_java_gradle.dir/build.make:115 : la recette pour la cible « executive_smach_tutorials/java/smach_tutorials/build.gradle » a échouée
make[2]: *** [executive_smach_tutorials/java/smach_tutorials/build.gradle] Erreur 1
CMakeFiles/Makefile2:884 : la recette pour la cible « executive_smach_tutorials/CMakeFiles/smach_tutorials_generate_messages_java_gradle.dir/all » a échouée
make[1]: *** [executive_smach_tutorials/CMakeFiles/smach_tutorials_generate_messages_java_gradle.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées....
[ 3%] Built target _actionlib_generate_messages_check_deps_TestRequestGoal
[ 3%] Built target _actionlib_generate_messages_check_deps_TestRequestFeedback
[ 3%] Built target _actionlib_generate_messages_check_deps_TestRequestActionResult
Makefile:138 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
Invoking "make -j4 -l4" failed
---