Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofxCv macro error on X11

$
0
0

@hamoid wrote:

Hi :slight_smile: I cloned the ofxCv addon and tried running the Flow and Blur examples and I get this error:

/usr/include/opencv2/stitching.hpp:58:4: warning: Detected X11 'Status' macro definition, it can cause build conflicts. Please, include this header before any X11 headers. [-W#warnings]
#  warning Detected X11 'Status' macro definition, it can cause build conflicts. Please, include this header before any X11 headers.
   ^
/usr/include/opencv2/stitching.hpp:128:10: error: expected identifier or '{'
    enum Status
         ^
/usr/include/X11/Xlib.h:83:16: note: expanded from macro 'Status'
#define Status int
               ^
1 warning and 1 error generated.
Process failed with exit code 1.

Is it finding the wrong headers? I'm using ofxCv master (not stable) because with stable it complains about glm. I'm on Linux with QtCreator. Thank you!

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles