Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Building static CGAL with static GMP, for commercial use : licence issue

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Building static CGAL with static GMP, for commercial use : licence issue


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Building static CGAL with static GMP, for commercial use : licence issue
  • Date: Wed, 26 May 2010 15:53:36 +0200
  • Organization: GeometryFactory

Hi Sebastien,

To fulfil the obligation of the LGPL concerning GMP,
you have to link with the non-static version
of the GMP library. So there is no need to distribute
object or even source code of your own software.

Alternatively you can choose not to use GMP.
Then the exact rational numbertype used internally
will be CGAL::Quotient<CGAL::MP_Float>. It is
slower, but as the exact number type is only
a fallback solution when floating point arithmetic
cannot trusted this doesn't pose a problem.

Best regards,

Andreas Fabri


On 26/05/2010 11:31, Sébastien Maraux wrote:
Hello,

For some reasons, I need to have CGAL (2D) built as static with no
dependencies (well, static dependencies in main soft).
This mentionned software have a commercial licence of 2D CGAL
triangulation. But when looking at GMP dependency, I have seen that it
is under LGPL.
This would mean that we have to either : publish whole source code of
main software, or at least .obj with a mean of rebuilding it (with
sources of CGAL)

It would not be a good thing to publish .obj of the commercial software,
so is there any other way to use CGAL and dependencies in static ?
Does the commercial licence of CGAL includes a commercial (not LGPL)
licence of GMP ?

Best Regards,

Sebastien Maraux
Expert Engineer at INRIA








Archive powered by MHonArc 2.6.16.

Top of Page