Hi!
I have the same problem on of 0.9.3 qtCreator 3.6.1 Ubuntu.
I think it cames from ofxCv
Here is the output from ofxCv example-face
/OF/addons/ofxCv/libs/ofxCv/src/Calibration.cpp: In member function ‘void ofxCv::Calibration::loadLcp(std::__cxx11::string, float, bool)’:
/home/bkb/programok/OF/addons/ofxCv/libs/ofxCv/src/Calibration.cpp:161:9: error: ‘ofXml’ was not declared in this scope
ofXml xml;
/OF/addons/ofxCv/libs/ofxCv/src/Calibration.cpp:162:23: error: **‘xml’ was not declared in this scope
bool loaded = xml.load(ofToDataPath(filename, absolute));**
^
Process failed with exit code 1.
The following products could not be built for configuration qtc_Desktop_6681c16b-debug:
example-face
Thank you, your suggestion helped in solving this.
I’ve added:
#include "ofXml.h"
to file
**/OF/addons/ofxCv/src/ofxCv.h**
now ofxCv.h looks like this:
#pragma once
#include "ofXml.h"
// cv
#include "opencv2/opencv.hpp"
// ofxCv
I could compile example-face on OF 0.9.3 qtCreator 3.6.1 Ubuntu.
I1ve tried to add #include “ofXml.h” into files: main.cpp ofApp.cpp ofApp.h without success and I’ve tried this solution https://github.com/kylemcdonald/ofxCv/issues/198 but it didn’t work.