bakercp / ofxDlib

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

errors when compiling in ubuntu #4

Closed ouarrtaha closed 7 years ago

ouarrtaha commented 7 years ago

i got these errors when i try to compile an example in linux

/OF/addons/ofxDlib/libs/ofxDlib/include/ofx/Dlib/Utils.h:29:14: error: ‘glm’ does not name a type
 inline const glm::tvec4<T>& toOf(const dlib::vector<T, 4>& v)
              ^
/OF/addons/ofxDlib/libs/ofxDlib/include/ofx/Dlib/Utils.h:39:14: error: ‘glm’ does not name a type
 inline const glm::tvec3<T>& toOf(const dlib::vector<T, 3>& v)
              ^
/OF/addons/ofxDlib/libs/ofxDlib/include/ofx/Dlib/Utils.h:49:14: error: ‘glm’ does not name a type
 inline const glm::tvec2<T>& toOf(const dlib::vector<T, 2>& v)
              ^
/OF/addons/ofxDlib/libs/ofxDlib/include/ofx/Dlib/Utils.h:59:14: error: ‘glm’ does not name a type
 inline const glm::tvec1<T>& toOf(const dlib::vector<T, 1>& v)
              ^
/OF/addons/ofxDlib/example_3d_point_cloud/src/ofApp.cpp: In member function ‘virtual void ofApp::setup()’:
/OF/addons/ofxDlib/example_3d_point_cloud/src/ofApp.cpp:36:42: error: no matching function for call to ‘ofMesh::addVertex(ofPixels_<float>)’
         mesh.addVertex(ofxDlib::toOf(val));
                                          ^
bakercp commented 7 years ago

https://github.com/bakercp/ofxDlib/blob/master/README.md#compatibility

bakercp commented 7 years ago

There is currently no stable branch of this addon, so the master branch is required.