Erreur XCode + openFrameworks : Field type 'ROI' is an abstract class
Bonjour à toutes et à tous.
Je suis confronté à une petit soucis sur openFrameworks 0.8.4 avec XCode 6.0.1 sous OSX Mavericks
Dans mon header ROI.h :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| #include <ofBaseTypes.h>
#include <ofRectangle.h>
class ROI : public ofBaseDraws, public ofRectangle {
public :
void draw(float _x, float _y) const;
void draw(float _x, float _y, float _w, float _h) const;
float getWidth() const;
float getHeight() const;
}; |
La déclaration dans mon kinectTracker.h :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| #include <ofxKinect.h>
#include <ofxOpenCv.h>
#include "ROI.h"
class kinectTracker {
public:
kinectTracker();
~kinectTracker();
ROI roi; // l'erreur apparait ici !
private:
ofxKinect kinect;
}; |
Cela me donne l'erreur :
Citation:
Field type 'ROI' is an abstract class
Je ne comprend pas cette erreur !
Si quelqu'un peut m'éclairer c'est top...
Merci à vous.