Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] compilation error
- Date: Mon, 28 Mar 2011 11:23:18 +0200
Please provide a minimal example showing the problem.
S.
Dominik Szczerba wrote:
I get the following error on Visual Studio 2010 x64:
Error 242 error C2668: 'boost::bind' : ambiguous call to overloaded function P:\cgal-3.7\x64\RelWithDebInfo\include\CGAL\Convex_hull_2\ch_akl_toussaint_impl.h 101
Error 243 error C2780: 'void std::sort(_RanIt,_RanIt)' : expects 2 arguments - 3 provided P:\cgal-3.7\x64\RelWithDebInfo\include\CGAL\Convex_hull_2\ch_akl_toussaint_impl.h 101
Error 244 error C2668: 'boost::bind' : ambiguous call to overloaded function P:\cgal-3.7\x64\RelWithDebInfo\include\CGAL\Convex_hull_2\ch_akl_toussaint_impl.h 103
Error 245 error C2780: 'void std::sort(_RanIt,_RanIt)' : expects 2 arguments - 3 provided P:\cgal-3.7\x64\RelWithDebInfo\include\CGAL\Convex_hull_2\ch_akl_toussaint_impl.h 103
Here the relevant part of the original CGAL code:
std::sort( successor(region3.begin() ), region3.end(),
bind(ch_traits.less_xy_2_object(), _2, _1) );
std::sort( successor(region4.begin() ), region4.end(), bind(ch_traits.less_xy_2_object(), _2, _1) );
Using boost 1.46.1.
I will be happy for any pointers how to fix it.
Dominik
- [cgal-discuss] compilation error, Dominik Szczerba, 03/24/2011
- Re: [cgal-discuss] compilation error, Sebastien Loriot (GeometryFactory), 03/28/2011
Archive powered by MHonArc 2.6.16.