rjdmoore / fictrac

FicTrac: A webcam-based method for tracking spherical motion and generating fictive animal paths.
http://fictrac.rjdmoore.net/
Other
26 stars 29 forks source link

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

Open tlmohren opened 3 years ago

tlmohren commented 3 years ago

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 . 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