neufieldrobotics / spinnaker_sdk_camera_driver

Point Grey (FLIR) Spinnaker based camera driver (Blackfly S etc.)
MIT License
125 stars 90 forks source link

What versions of the Spinnaker SDK are supported? #65

Closed henroth closed 4 years ago

henroth commented 4 years ago

Hi,

I have the latest version of the Spinnaker SDK installed on my machine which is spinnaker-1.27.0.48-i386, but when I try to build and link the ROS package I get the following error.

Errors << spinnaker_sdk_camera_driver:make /home/XXX/workspace/logs/spinnaker_sdk_camera_driver/build.make.000.log /home/XXX/workspace/src/spinnaker_sdk_camera_driver/src/camera.cpp: In destructor ‘acquisition::Camera::~Camera()’: /home/XXX/workspace/src/spinnaker_sdk_cameradriver/src/camera.cpp:5:11: warning: passing NULL to non-pointer argument 1 of ‘Spinnaker::CameraPtr::CameraPtr(long int)’ [-Wconversion-null] pCam = NULL; ^ /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libSpinnaker.so when searching for -lSpinnaker /usr/bin/ld: skipping incompatible /usr/lib/../lib/libSpinnaker.so when searching for -lSpinnaker /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/../../../libSpinnaker.so when searching for -lSpinnaker /usr/bin/ld: skipping incompatible //usr/lib/libSpinnaker.so when searching for -lSpinnaker /usr/bin/ld: cannot find -lSpinnaker collect2: error: ld returned 1 exit status make[2]: [/home/XXX/workspace/devel/.private/spinnaker_sdk_camera_driver/lib/libacquilib.so] Error 1 make[1]: [CMakeFiles/acquilib.dir/all] Error 2 make: *** [all] Error 2

I am guessing the the ROS package is built against a previous, incompatible version of the SDK. Could you advise on which version of the SDK is actually supported?

Thanks Henry

henroth commented 4 years ago

Ahh shoot nevermind, I'm trying to link against the 32-bit version instead of the 64 bit...