OfxCV Smile detection example compiling error

Hi! I’m trying to compile the smile finder example from kylemcdonald’s ofxCv, however I get a compiling issue at the .h file,

No viable conversion from ‘ofVec2f’ to ‘const glm::vec<3, float, glm::packed_highp>’

Does it have to do with changing it to the new GLM syntax? Let me know, thank you!!

you’re right, it has to do with the new GLM syntax, you may try this :

glm::vec3 cur(n, y, 0.f);
1 Like

That works thank you so much!