ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 180 forks source link

Incompetent installation instructions for arm architecture #125

Open Baycken opened 7 years ago

Baycken commented 7 years ago

The installation from PointGrey for the arm platform is incomplete. The instruction only tell user to copy the content of SDK/lib folder to /use/lib. Where as the content of SDK/include need to be copied to /use/include/flycapture as well.

Currently the cmake script only check if the lib files are present and the missing include files will not trigger automatic download for the SDK, thus causing a compilation error.

There are two possible solutions: Fail the compilation on if the headers are missing and prompt user to copy it to the correct folder manually. This is less automatic but prevent version mismatch.

Or using the download script to download the header files from point grey if it is missing. It might create version mismatch between the lib and the headers, but is totally automatic.

ashnarayan13 commented 6 years ago

I think this is something ptgrey should look into. This isn't the ROS camera driver problem. The driver install for flycapture from ptgrey asks only for lib to be copied but to build normal applications as well, the include folder has to be copied to the /usr/include/ folder.