Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] TBB bug report(?)
- Date: Fri, 12 Dec 2014 11:02:19 +0100
- Organization: GeometryFactory
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/
- [cgal-discuss] Configure CGAL and my CMakeLists.txt to use Intel TBB?, Adam Getchell, 12/09/2014
- Re: [cgal-discuss] Configure CGAL and my CMakeLists.txt to use Intel TBB?, Sebastien Loriot (GeometryFactory), 12/10/2014
- Re: [cgal-discuss] Configure CGAL and my CMakeLists.txt to use Intel TBB?, Sebastien Loriot (GeometryFactory), 12/10/2014
- Re: [cgal-discuss] Configure CGAL and my CMakeLists.txt to useIntel TBB?, hope, 12/10/2014
- [cgal-discuss] TBB bug report(?), Adam Getchell, 12/12/2014
- Re: [cgal-discuss] TBB bug report(?), Sebastien Loriot (GeometryFactory), 12/12/2014
- Re: [cgal-discuss] TBB bug report(?), Laurent Rineau (CGAL/GeometryFactory), 12/12/2014
- Re: [cgal-discuss] Configure CGAL and my CMakeLists.txt to use Intel TBB?, Sebastien Loriot (GeometryFactory), 12/10/2014
- Re: [cgal-discuss] Configure CGAL and my CMakeLists.txt to use Intel TBB?, Sebastien Loriot (GeometryFactory), 12/10/2014
Archive powered by MHonArc 2.6.18.