Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] TBB bug report(?)
- Date: Wed, 14 Jan 2015 19:54:28 +0100
- Organization: GeometryFactory
Anyway it should be fixed in CGAL-4.5.1.
Le Wednesday 14 January 2015 17:52:06 Bart Vermeulen a écrit :
> I commented out those lines and the compilation works now.
>
> Bart
>
> On 12/12/2014 11:02 AM, Laurent Rineau (CGAL/GeometryFactory) wrote:
> > Le jeudi 11 décembre 2014 23:54:52 Adam Getchell a écrit :
> >> It looks like TBB 4.3 is incompatible with <iostream> and <CGAL/Timer.h>
> >> on
> >> my platform.
> >
> > There is indeed an incompatibility between the code of CGAL-4.5 and
> > TBB-4.3.>
> >> Here’s the output if I comment out all instances of CGAL/Timer.h:
> >>
> >> https://gist.github.com/acgetchell/385be42d249e20a9b78c
> >>
> >> Here’s the output with CGAL/Timer.h:
> >>
> >> https://gist.github.com/acgetchell/a097d232859c318ecf69
> >
> > If you look at the error messages more deeply, you can see that in both
> > cases the error is triggered by <CGAL/Spatial_lock_grid_3.h>, line 629:
> >
> > /usr/local/include/CGAL/Spatial_lock_grid_3.h:629:12: note: in
> > instantiation of member function 'std::__1::vector<tbb::recursive_mutex,
> > std::__1::allocator<tbb::recursive_mutex> >::resize' requested here
> > m_grid.resize(num_cells);
> > ^
> > /usr/local/include/tbb/recursive_mutex.h:39:25: note: copy constructor of
> > 'recursive_mutex' is implicitly deleted because base class
> > 'internal::mutex_copy_deprecated_and_disabled' has a deleted copy
> > constructor class recursive_mutex :
> > internal::mutex_copy_deprecated_and_disabled { ^
> > /usr/local/include/tbb/tbb_stddef.h:334:44: note: copy constructor of
> > 'mutex_copy_deprecated_and_disabled' is implicitly deleted because base
> > class 'tbb::internal::no_copy' has an inaccessible copy constructor class
> > mutex_copy_deprecated_and_disabled : no_copy {};
> >
> > With TBB-4.3, can you please try to erase, or comment out, the following
specialization:
> > template <>
> > class Spatial_lock_grid_3<Tag_non_blocking_with_mutexes>
> >
> > between lines 614 and 665 of <CGAL/Spatial_lock_grid_3.h>? That
> > specialization is actusally not used by CGAL, and it should fix the
> > compilation errors with TBB-4.3.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- Re: [cgal-discuss] TBB bug report(?), Bart Vermeulen, 01/14/2015
- Re: [cgal-discuss] TBB bug report(?), Laurent Rineau (CGAL/GeometryFactory), 01/14/2015
- Re: [cgal-discuss] TBB bug report(?), Bart Vermeulen, 01/15/2015
- Re: [cgal-discuss] TBB bug report(?), Laurent Rineau (CGAL/GeometryFactory), 01/15/2015
- Re: [cgal-discuss] TBB bug report(?), Bart Vermeulen, 01/19/2015
- Re: [cgal-discuss] TBB bug report(?), Bart Vermeulen, 01/19/2015
- Re: [cgal-discuss] TBB bug report(?), Bart Vermeulen, 01/19/2015
- Re: [cgal-discuss] TBB bug report(?), Laurent Rineau (CGAL/GeometryFactory), 01/15/2015
- Re: [cgal-discuss] TBB bug report(?), Bart Vermeulen, 01/15/2015
- Re: [cgal-discuss] TBB bug report(?), Laurent Rineau (CGAL/GeometryFactory), 01/14/2015
Archive powered by MHonArc 2.6.18.