Closed rgov closed 3 years ago
@rgov thanks for pointing this out. It looks like spinnaker made this change in one of the recent updates where they started to install the driver in /opt
instead of /usr
. We will test and update the master as per your recommendations.
Cheers.
@rgov this is fixed in the hotfix/spinnaker_cmake branch
System Description Camera Name and Model: FLIR Blackfly S BFS-U3-50S5C-C Operating System: Ubuntu 18.04 "Bionic" Spinnaker Version: 2.3.0.77 ROS Version: Melodic
Computer details Processor: Jetson TX2 RAM: 4 GB?
Do the cameras work with SpinView?
They work with the Python examples provided with the Spinnaker SDK.
Describe the bug
I am building from the
Feature/spinnaker_update
branch, usingcatkin
.When I compile the project, it is unable to find a key Spinnaker SDK header file. But the file exists, and is located at
/opt/spinnaker/include/Spinnaker.h
The problem stems from the fact that
CMakeLists.txt
hardcodes the path to the Spinnaker SDK, rather than allowing CMake to try to discover the library.You could invoke:
But the
CMakeLists.txt
should be changed to usefind_package
to determine the path, rather than expect that it exists at the hardcoded location.Error Messages