DELAUNAY Triangle lib error - CGAL
Posted: Mon Jun 08, 2020 6:46 pm
I originally wrote a test program using the Windows version of CloudCompare and amongst other steps it uses the DELAUNAY Best Fit function and worked fine.
I'm now moving the project to a Linux docker and have run into the following error...
[17:51:36] [ccMesh::Triangulate] Failed to construct Delaunay mesh (Triangle lib error: CGAL library not supported)
From the change log I find this...
2.6.3
* Triangulation:
- due to licensing issue with Triangle lib (incompatibility with GPL/LGPL) CGAL is now the prefered library for 2.5D
triangulation CCLib can now be compiled with CGAL support using COMPILE_CC_CORE_LIB_WITH_CGAL.
- please note that as CGAL 2D triangulation module is released under GPL license. A version of CCLib compiled with CGAL
support is no longer licensed under LGPL (GPL is "viral"). To keep CCLib original license scheme, you *must*
compile it without CGAL.
- as a positive side effect, micro benchmarks show that CGAL tends to offer better performances.
I'm afraid from that I can't figure out what the situation is. It sounds like to use DELAUNAY I'm going to need to compile CloudCompore with CGAL, but if I do it won't be GPL, which I assume is because CGAL isn't free?
If this is the case, then why does it work fine in the Window version 2.10.2 downloaded earlier this year?
Tom
I'm now moving the project to a Linux docker and have run into the following error...
[17:51:36] [ccMesh::Triangulate] Failed to construct Delaunay mesh (Triangle lib error: CGAL library not supported)
From the change log I find this...
2.6.3
* Triangulation:
- due to licensing issue with Triangle lib (incompatibility with GPL/LGPL) CGAL is now the prefered library for 2.5D
triangulation CCLib can now be compiled with CGAL support using COMPILE_CC_CORE_LIB_WITH_CGAL.
- please note that as CGAL 2D triangulation module is released under GPL license. A version of CCLib compiled with CGAL
support is no longer licensed under LGPL (GPL is "viral"). To keep CCLib original license scheme, you *must*
compile it without CGAL.
- as a positive side effect, micro benchmarks show that CGAL tends to offer better performances.
I'm afraid from that I can't figure out what the situation is. It sounds like to use DELAUNAY I'm going to need to compile CloudCompore with CGAL, but if I do it won't be GPL, which I assume is because CGAL isn't free?
If this is the case, then why does it work fine in the Window version 2.10.2 downloaded earlier this year?
Tom