Skip to content

Commit 3e4f98b

Browse files
committed
Fix headers for opencv2 and later
opencv/cv.h is removed on opencv4 Signed-off-by: Nicolas Chauvet <[email protected]>
1 parent 48a5c66 commit 3e4f98b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

wrappers/opencv/cvdemo.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#include <opencv/cv.h>
2-
#include <opencv/highgui.h>
1+
#include <opencv2/highgui/highgui_c.h>
32
#include <stdio.h>
43
#include "libfreenect_cv.h"
54

wrappers/opencv/libfreenect_cv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include <opencv/cv.h>
3+
#include <opencv2/core/core_c.h>
44

55
#ifdef __cplusplus
66
extern "C" {

0 commit comments

Comments
 (0)