Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists improvement: Cannot find Spinnaker.h while compiling on Ubuntu 20.04 with Spinnaker2.2 #13

Open
tlmohren opened this issue Dec 2, 2020 · 0 comments

Comments

@tlmohren
Copy link

tlmohren commented Dec 2, 2020

It looks like the install directory changed with the Spinnaker update (probably from 1.x to 2.x ). I got an error during the compilation saying it could not find #include <Spinnaker.h>. The solution for me was to change line 110 in CMakeLists.txt from:

        # include_directories(${PGR_DIR}/include/spinnaker)   # for ubuntu default install dir

to:

        include_directories(${PGR_DIR}/include)   # for ubuntu default install dir
floesche added a commit to floesche/fictrac that referenced this issue Jan 19, 2023
Check the location of spinnaker headers and change the path accordingly.
This builds on the suggestion in
rjdmoore#13 by @tlmohren, but provides
a fallback for earlier spinnaker versions.
floesche added a commit to floesche/fictrac that referenced this issue Jan 19, 2023
Check the location of spinnaker headers and change the path accordingly.
This builds on the suggestion in
rjdmoore#13 by @tlmohren, but provides
a fallback for earlier spinnaker versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant