Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with OFX 0.11 ? #3

Open
batchku opened this issue Feb 16, 2020 · 0 comments
Open

Compatibility with OFX 0.11 ? #3

batchku opened this issue Feb 16, 2020 · 0 comments

Comments

@batchku
Copy link

batchku commented Feb 16, 2020

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());
                                            ^~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant