ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

ImportError: cannot import name EXT_MSG

asked 2016-03-07 03:52:00 -0600

baogege gravatar image

updated 2016-03-07 03:54:56 -0600

BennyRe gravatar image

Hi,I am using ubuntu14.04+indigo

I got an error when I run catkin_make

[ 67%] Built target actionlib_msgs_generate_messages_cpp
Traceback (most recent call last):
  File "/opt/ros/indigo/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py", line 41, in <module>
    from genmsg import EXT_MSG, EXT_SRV, MsgContext
ImportError: cannot import name EXT_MSG
make[2]: *** [procrob_functional/CMakeFiles/_face_recognition_generate_messages_check_deps_FaceRecognitionResult] Error 1
make[1]: *** [procrob_functional/CMakeFiles/_face_recognition_generate_messages_check_deps_FaceRecognitionResult.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "/opt/ros/indigo/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py", line 41, in <module>
    from genmsg import EXT_MSG, EXT_SRV, MsgContext
ImportError: cannot import name EXT_MSG
make[2]: *** [procrob_functional/CMakeFiles/_face_recognition_generate_messages_check_deps_FaceRecognitionGoal] Error 1
make[1]: *** [procrob_functional/CMakeFiles/_face_recognition_generate_messages_check_deps_FaceRecognitionGoal.dir/all] Error 2
Traceback (most recent call last):
  File "/opt/ros/indigo/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py", line 41, in <module>
    from genmsg import EXT_MSG, EXT_SRV, MsgContext
ImportError: cannot import name EXT_MSG
make[2]: *** [procrob_functional/CMakeFiles/_face_recognition_generate_messages_check_deps_FaceRecognitionActionResult] Error 1
make[1]: *** [procrob_functional/CMakeFiles/_face_recognition_generate_messages_check_deps_FaceRecognitionActionResult.dir/all] Error 2
[ 67%] Built target std_msgs_generate_messages_cpp
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

please help me,thx

edit retag flag offensive close merge delete

Comments

Please post your CMakeLists.txt You could also try the catkin_lint tool. It's a great tool to resolve errors in your CMakeLists.txt and package.xml

BennyRe gravatar imageBennyRe ( 2016-03-07 04:12:08 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-03-10 01:40:18 -0600

baogege gravatar image

I git clone the package named genmsg,then the error disapeared.Thank you for your advice.

edit flag offensive delete link more

Comments

I converted your comment to an answer. Please mark it as correct.

BennyRe gravatar imageBennyRe ( 2016-03-10 02:07:36 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-03-07 03:52:00 -0600

Seen: 298 times

Last updated: Mar 07 '16