@MataKurara wrote:
Hi, all
I am trying ofxFaceTracker2 with OF 10.1 with VS 2017.
I have ofxFaceTracker2, ofxCv, ofxOpencv, ofxgui, ofxosc in my addons.When I ran the example in ofxFaceTracker (Release x64), the following errors showed up.
Anyone has idea about the solution to it?Severity Code Description Project File Line Suppression State Error C2664 'void ofPolyline_<ofDefaultVertexType>::addVertex(float,float,float)': cannot convert argument 1 from 'ofVec2f' to 'const ofDefaultVertexType &' example-simple d:\of_v0.10.1_vs2017_release\addons\ofxfacetracker2\src\ofxfacetracker2landmarks.cpp 70 Error C2664 'void ofMesh_<ofDefaultVertexType,ofDefaultNormalType,ofDefaultColorType,ofDefaultTexCoordType>::addVertex(const V &)': cannot convert argument 1 from 'glm::vec2' to 'const ofDefaultVertexType &' example-simple d:\of_v0.10.1_vs2017_release\addons\ofxfacetracker2\src\ofxfacetracker2landmarks.cpp 135 Error C2664 'void ofMesh_<ofDefaultVertexType,ofDefaultNormalType,ofDefaultColorType,ofDefaultTexCoordType>::addVertex(const V &)': cannot convert argument 1 from 'glm::vec2' to 'const ofDefaultVertexType &' example-simple d:\of_v0.10.1_vs2017_release\addons\ofxfacetracker2\src\ofxfacetracker2landmarks.cpp 136 Error C2664 'void ofMesh_<ofDefaultVertexType,ofDefaultNormalType,ofDefaultColorType,ofDefaultTexCoordType>::addVertex(const V &)': cannot convert argument 1 from 'glm::vec2' to 'const ofDefaultVertexType &' example-simple d:\of_v0.10.1_vs2017_release\addons\ofxfacetracker2\src\ofxfacetracker2landmarks.cpp 137
Posts: 1
Participants: 1