Closed mdsumner closed 6 years ago
Suggest* changing poly.push_back({pt});
to poly.push_back(pt);
at decido.cpp:46? You're pushing a single element so not quite sure why the initialiser list syntax is there.
Thanks! That fixed the Linux build, though osx is still failing.
I'm going to put this aside for day or so, but I appreciate the feedback!
I think (some of) the OSX errors will go away if you explicitly #include <array>
in earcut_hpp.cpp.
What's the intent of earcut_hpp.cpp? It looks like a header and it's being #included like a header, so dont get why the cpp extension? (If it is meant to be a cpp file it should not be #included)
Oh that's just me not knowing what I'm doing! Mapbox calls it .hpp but check complains about that. I guess it should be .h Thanks again, will try
PASS! Thanks so much ;) (BTW, If you are trying to actually use this the logic for the geometry input is a bit iffy still but I'll get to that soon).
I'd expect this is C++11 problems, but now have SystemRequirements, Makevars and environment variable in travis.yml ...