bakercp / ofxDlib

An openFrameworks wrapper for dlib. http://dlib.net/
MIT License
52 stars 15 forks source link

Use of undeclared identifier 'faceRects' in hipster dog example #21

Open transat opened 6 years ago

transat commented 6 years ago

In the hipster dog example, using of0.10.0 on OSXRC3 I'm getting 2 errors...

Invalid range expression of type 'auto'; no viable 'begin' function available

and

Use of undeclared identifier 'faceRects'; did you mean 'faceRect'?

on this line:

for (auto& faceRect: faceRects)

because ofApp.h is missing:

// Our face detection bounding boxes.
    std::vector<dlib::rectangle> faceRects;
transat commented 6 years ago

But even then, the app launches but no faces get detected and the console repeats the following:

[warning] ofGLRenderer: drawing an unallocated texture

bakercp commented 6 years ago

I think that example is unfinished. I'll take a look.