Skip to content

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

@tlmohren

Description

@tlmohren

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions