Skip to content

Commit

Permalink
fix build with cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet authored and deadprogram committed Oct 13, 2020
1 parent c5c3413 commit 6d2173d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cuda/cudabgsegm.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#ifdef __cplusplus
#include <opencv2/opencv.hpp>
#include <opencv2/cudabgsegm.hpp>

extern "C" {
#endif
Expand Down
2 changes: 2 additions & 0 deletions cuda/imgproc.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

#ifdef __cplusplus
#include <opencv2/opencv.hpp>
#include <opencv2/cudaimgproc.hpp>
#include <opencv2/cudaarithm.hpp>
extern "C" {
#endif
#include "cuda.h"
Expand Down
1 change: 1 addition & 0 deletions cuda/objdetect.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#ifdef __cplusplus
#include <opencv2/opencv.hpp>
#include <opencv2/core/cuda.hpp>
#include <opencv2/cudaobjdetect.hpp>

extern "C" {
#endif
Expand Down

0 comments on commit 6d2173d

Please sign in to comment.