mirror of
https://github.com/bspeice/libcvautomation
synced 2025-07-01 05:46:33 -04:00
Fix the build process to support OpenCV 2 (Ubuntu)
This commit is contained in:
@ -21,10 +21,19 @@
|
||||
/* C includes */
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef USEOPENCV2
|
||||
/* OpenCV2 includes - some filenames are different */
|
||||
#include <opencv2/core/core_c.h>
|
||||
#include <opencv2/highgui/highgui_c.h>
|
||||
#include <opencv2/imgproc/imgproc_c.h>
|
||||
|
||||
#else
|
||||
/* OpenCV includes */
|
||||
#include <opencv/cv.h>
|
||||
#include <opencv/highgui.h>
|
||||
|
||||
#endif /* #ifdef OPENCV2 */
|
||||
|
||||
/* X11 includes */
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
Reference in New Issue
Block a user