Trying to use the boost geometry library.
Have a very simple example from the boost geometry home page
int main(int argc, const char * argv[])
{
double points[][2] = {{2.0, 1.3}, {4.1, 3.0}, {5.3, 2.6}, {2.9, 0.7}, {2.0, 1.3}};
bgm::polygon poly;
bg::append(poly, points);
boost::tuple p = boost::make_tuple(3.7, 2.0);
std::cout << "Point p is in polygon? " << std::boolalpha << bg::within(p, poly) << std::endl;
…
}
When trying to build on my Mac I get compiler warnings:
point_type.hpp
No matching function for call to 'assertion_failed"
coordinate_type.hpp
No matching function for call to 'assertion_failed"
convert_point_to_point.hpp
Call to function 'get that is neither visible in the template definition or found…
access.hpp
Nom member named 'get in boost::geometry::core_dispatch…
Is there something wrong with the boost libraries installed via macports?