Ask Your Question
0

error building catkin : Invoking "make -j4 -l4" failed [closed]

asked 2018-07-31 10:50:01 -0500

steveLU gravatar image

updated 2018-07-31 12:09:07 -0500

gvdhoorn gravatar image

Hi,

I am trying to use the Pylon camera packages: http://wiki.ros.org/pylon_camera

I clones the pylon_camera-pkg but get the error below when building the workspace.

Details: Ubuntu 16.04 with ROS Kinetic, Anaconda2, python 2.7.

Thank you for any help!

$ catkin_make

[  2%] Built target rosgraph_msgs_generate_messages_lisp
[  2%] Generating C++ code from camera_control_msgs/GrabAndSaveImageActionResult.msg
[ 31%] Built target camera_control_msgs_generate_messages_nodejs
[ 39%] Built target camera_control_msgs_generate_messages_py
[ 59%] Built target camera_control_msgs_generate_messages_lisp
[ 59%] Generating C++ code from camera_control_msgs/GrabHDRImageActionGoal.msg
[ 60%] Generating C++ code from camera_control_msgs/GrabImagesGoal.msg
Traceback (most recent call last):
  File "/opt/ros/kinetic/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in <module>
    import genmsg.template_tools
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in <module>
    import em
ImportError: No module named em
camera_control_msgs/CMakeFiles/camera_control_msgs_generate_messages_cpp.dir/build.make:94: recipe for target '/home/robo1/catkin_ws/devel/include/camera_control_msgs/GrabAndSaveImageActionResult.h' failed
make[2]: *** [/home/robo1/catkin_ws/devel/include/camera_control_msgs/GrabAndSaveImageActionResult.h] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 78%] Built target camera_control_msgs_generate_messages_eus
Traceback (most recent call last):
  File "/opt/ros/kinetic/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in <module>
    import genmsg.template_tools
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in <module>
    import em
ImportError: No module named em
Traceback (most recent call last):
  File "/opt/ros/kinetic/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in <module>
    import genmsg.template_tools
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in <module>
    import em
ImportError: No module named em
camera_control_msgs/CMakeFiles/camera_control_msgs_generate_messages_cpp.dir/build.make:109: recipe for target '/home/robo1/catkin_ws/devel/include/camera_control_msgs/GrabHDRImageActionGoal.h' failed
make[2]: *** [/home/robo1/catkin_ws/devel/include/camera_control_msgs/GrabHDRImageActionGoal.h] Error 1
camera_control_msgs/CMakeFiles/camera_control_msgs_generate_messages_cpp.dir/build.make:100: recipe for target '/home/robo1/catkin_ws/devel/include/camera_control_msgs/GrabImagesGoal.h' failed
make[2]: *** [/home/robo1/catkin_ws/devel/include/camera_control_msgs/GrabImagesGoal.h] Error 1
CMakeFiles/Makefile2:878: recipe for target 'camera_control_msgs/CMakeFiles/camera_control_msgs_generate_messages_cpp.dir/all' failed
make[1]: *** [camera_control_msgs/CMakeFiles/camera_control_msgs_generate_messages_cpp.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2018-07-31 12:08:52.983499

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-31 10:58:10 -0500

steveLU gravatar image

Sorry, I just found this and it solves the problem:

https://answers.ros.org/question/2392...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-07-31 10:50:01 -0500

Seen: 601 times

Last updated: Jul 31 '18