Browse Source

vision: Fix missing includes/declarations

Sam Edwards 7 years ago
parent
commit
b5bf6cd73c

+ 6 - 1
panda/src/vision/webcamVideoCursorOpenCV.cxx

@@ -11,12 +11,17 @@
  * @date 2010-10-20
  * @date 2010-10-20
  */
  */
 
 
-#include "webcamVideoOpenCV.h"
+#include "webcamVideoCursorOpenCV.h"
 
 
 #ifdef HAVE_OPENCV
 #ifdef HAVE_OPENCV
 
 
+#include "webcamVideoOpenCV.h"
+#include "movieVideoCursor.h"
+
 #include "pStatTimer.h"
 #include "pStatTimer.h"
 
 
+#include <opencv2/highgui/highgui.hpp>
+
 TypeHandle WebcamVideoCursorOpenCV::_type_handle;
 TypeHandle WebcamVideoCursorOpenCV::_type_handle;
 
 
 /**
 /**

+ 1 - 0
panda/src/vision/webcamVideoCursorOpenCV.h

@@ -22,6 +22,7 @@
 #include "movieVideoCursor.h"
 #include "movieVideoCursor.h"
 
 
 class WebcamVideoOpenCV;
 class WebcamVideoOpenCV;
+struct CvCapture;
 
 
 /**
 /**
  * The Video4Linux implementation of webcams.
  * The Video4Linux implementation of webcams.

+ 5 - 0
panda/src/vision/webcamVideoCursorV4L.cxx

@@ -11,8 +11,13 @@
  * @date 2010-06-11
  * @date 2010-06-11
  */
  */
 
 
+#include "webcamVideoCursorV4L.h"
+
+#include "config_vision.h"
 #include "webcamVideoV4L.h"
 #include "webcamVideoV4L.h"
 
 
+#include "movieVideoCursor.h"
+
 #if defined(HAVE_VIDEO4LINUX) && !defined(CPPPARSER)
 #if defined(HAVE_VIDEO4LINUX) && !defined(CPPPARSER)
 
 
 #include <fcntl.h>
 #include <fcntl.h>