frauzufall / ofx2DMapping

2D mapping tool for different object types like ofFbo, ofImage or completely custom objects.
34 stars 6 forks source link

error in call call to ‘ofxTriangle::triangulate() #15

Open nanu-c opened 8 years ago

nanu-c commented 8 years ago
openFrameworks/addons/ofx2DMapping/src/ofx2DMappingShape.h:131:64: error: no matching function for call to ‘ofxTriangle::triangulate(std::vector<glm::tvec3<float, (glm::precision)0u>, std::allocator<glm::tvec3<float, (glm::precision)0u> > >&)’
         this->triangle.triangulate(this->polyline.getVertices());

Which version of ofxTriangulate are you using?

frauzufall commented 8 years ago

The master branch of ofx2DMapping is working with the old ofxGuiExtended and also tested with OF before they introduced the glm changes. Unfortunately that is an issue of ofxTriangle.

I am using the most current ofxGuiExtended version with the ofx2DMapping branch "refactor-gui-dom" and a modified version of ofxTriangleMesh, branch "updated-of", because the original version of ofxTriangleMesh doesn't work with the current OF either, same as ofxTriangle, it was just easier to find a fix for me.

Sorry for the mess, it's difficult with all these non working addons atm.