Skip to content

Compatibility with OFX 0.11 ? #3

@batchku

Description

@batchku

Has anyone worked with this AddOn with openframeworks 0.11?

Compilations errors from an empty ProjectGenerator project:

/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp: In member function ‘ofxOpenFaceDataSingleFace ofxOpenFace::processImageSingleFace()’:
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp:227:32: error: no matching function for call to ‘ofPolyline_<glm::vec<3, float, (glm::qualifier)0> >::addVertices(std::vector<ofVec3f>&)’
     pl.addVertices(vLandmarks2D);
                                ^
In file included from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.h:566:0,
                 from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/gl/ofGLRenderer.h:3,
                 from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:49,
                 from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.h:15,
                 from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp:1:
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:67:6: note: candidate: void ofPolyline_<T>::addVertices(const std::vector<T>&) [with T = glm::vec<3, float, (glm::qualifier)0>]
 void ofPolyline_<T>::addVertices(const std::vector<T>& verts) {
      ^~~~~~~~~~~~~~
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:67:6: note:   no known conversion for argument 1 from ‘std::vector<ofVec3f>’ to ‘const std::vector<glm::vec<3, float, (glm::qualifier)0>, std::allocator<glm::vec<3, float, (glm::qualifier)0> > >&’
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:75:6: note: candidate: void ofPolyline_<T>::addVertices(const T*, int) [with T = glm::vec<3, float, (glm::qualifier)0>]
 void ofPolyline_<T>::addVertices(const T* verts, int numverts) {
      ^~~~~~~~~~~~~~
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:75:6: note:   candidate expects 2 arguments, 1 provided
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp: In lambda function:
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp:335:36: error: no matching function for call to ‘ofPolyline_<glm::vec<3, float, (glm::qualifier)0> >::addVertices(std::vector<ofVec3f>&)’
         pl.addVertices(vLandmarks2D);
                                    ^
In file included from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.h:566:0,
                 from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/gl/ofGLRenderer.h:3,
                 from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:49,
                 from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.h:15,
                 from /home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp:1:
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:67:6: note: candidate: void ofPolyline_<T>::addVertices(const std::vector<T>&) [with T = glm::vec<3, float, (glm::qualifier)0>]
 void ofPolyline_<T>::addVertices(const std::vector<T>& verts) {
      ^~~~~~~~~~~~~~
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:67:6: note:   no known conversion for argument 1 from ‘std::vector<ofVec3f>’ to ‘const std::vector<glm::vec<3, float, (glm::qualifier)0>, std::allocator<glm::vec<3, float, (glm::qualifier)0> > >&’
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:75:6: note: candidate: void ofPolyline_<T>::addVertices(const T*, int) [with T = glm::vec<3, float, (glm::qualifier)0>]
 void ofPolyline_<T>::addVertices(const T* verts, int numverts) {
      ^~~~~~~~~~~~~~
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:75:6: note:   candidate expects 2 arguments, 1 provided
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp: In member function ‘virtual void ofxOpenFace::threadedFunction()’:
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp:390:12: error: ‘class std::thread’ has no member named ‘setName’
     thread.setName("ofxOpenFace " + thread.name());
            ^~~~~~~
/home/ali/Downloads/of_v0.11.0_linux64gcc6_release/addons/ofxOpenFace/src/ofxOpenFace.cpp:390:44: error: ‘class std::thread’ has no member named ‘name’
     thread.setName("ofxOpenFace " + thread.name());
                                            ^~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions