Ask Your Question
0

pylon_camera catkin_make error

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

qcrong gravatar image

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

gvdhoorn gravatar image

I installed a ROS-Driver for Basler Cameras accordance with the tutorial in http://wiki.ros.org/pylon_camera

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
0

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

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

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: 2017-06-27 22:14:55 -0600

Seen: 231 times

Last updated: Jun 28 '17