Skip to content

Commit

Permalink
Fix headers for opencv2 and later
Browse files Browse the repository at this point in the history
opencv/cv.h is removed on opencv4

Signed-off-by: Nicolas Chauvet <[email protected]>
  • Loading branch information
kwizart committed Feb 28, 2020
1 parent 48a5c66 commit 3e4f98b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions wrappers/opencv/cvdemo.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv2/highgui/highgui_c.h>
#include <stdio.h>
#include "libfreenect_cv.h"

Expand Down
2 changes: 1 addition & 1 deletion wrappers/opencv/libfreenect_cv.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <opencv/cv.h>
#include <opencv2/core/core_c.h>

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 3e4f98b

Please sign in to comment.