Skip to content

Does not build with OpenCV 4 #596

Description

@ChristophHaag

Archlinux ships OpenCV 4 and osvr-core does not build with it.

There are several #ifdefs in the code checking explicitly for OpenCV 2 or 3 and producing an #error for OpenCV 4 but just removing those does not help, apparently the API changed.

osvr-core should either

  1. build an appropriate opencv version with osvr-core
  2. allow the selection of an opencv installation in a non default path (/opt/...) in cmake It already does that with OpenCV_DIR
  3. update to the opencv 4 API

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions