ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

pylon_camera catkin_make error

asked 2017-06-27 22:14:55 -0500

qcrong gravatar image

updated 2017-06-28 01:41:06 -0500

gvdhoorn gravatar image

I installed a ROS-Driver for Basler Cameras accordance with the tutorial in

But when catkin_make I met these problems:

compilation terminated.
make[2]: *** [pylon_camera/CMakeFiles/pylon_camera.dir/src/pylon_camera/pylon_camera.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/qcrong/catkin_ws/src/pylon_camera/src/pylon_camera/pylon_camera_node.cpp:31:27: fatal error: GenApi/GenApi.h: No such file or directory
 #include <GenApi/GenApi.h>
compilation terminated.
make[2]: *** [pylon_camera/CMakeFiles/pylon_camera.dir/src/pylon_camera/pylon_camera_node.cpp.o] Error 1
make[1]: *** [pylon_camera/CMakeFiles/pylon_camera.dir/all] Error 2
make: *** [all] Error 2

Who knows how to solve these problems? Thank you very much!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-06-28 03:44:16 -0500

qcrong gravatar image

I know where I was wrong. In installing step : rosdep install --from-paths . --ignore-src --rosdistro=$ROS_DISTRO -y I forgot to replace $ROS_DISTRO with my ROS version which is indigo. Another problem is that pylonSDK must be installed first. The pylonSDK installation package can be downloaded at Basler's official website.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-06-27 22:14:55 -0500

Seen: 950 times

Last updated: Jun 28 '17