← Back to team overview

dolfin team mailing list archive

Re: CGAL triangle compilation problems.

 

On Fri, Feb 03, 2012 at 10:13:23AM +0100, Johan Hake wrote:
> On Friday February 3 2012 10:11:10 Garth N. Wells wrote:
> > On 3 February 2012 08:38, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
> > > On 2 February 2012 19:48, Johan Hake <johan.hake@xxxxxxxxx> wrote:
> > >> I cannot compiled dolfin now. I am getting:
> > >>
> > >>  In file included from
> > >> /home/hake/local/include/CGAL/Triangulation_data_structure_3.h:43:0,
> > >>                 from /home/hake/local/include/CGAL/Triangulation_3.h:35,
> > >>                 from /home/hake/bzr/fenics/dolfin/work-
> > >> trunk/dolfin/generation/cgal_triangulate.h:30,
> > >>                 from /home/hake/bzr/fenics/dolfin/work-
> > >> trunk/dolfin/generation/CGALMeshBuilder.h:32,
> > >>                 from /home/hake/bzr/fenics/dolfin/work-
> > >> trunk/dolfin/generation/Triangulate.cpp:28:
> > >> /home/hake/local/include/CGAL/Triangulation_ds_cell_base_3.h: In
> > >> constructor
> > >> ‘CGAL::Triangulation_ds_cell_base_3<TDS>::Triangulation_ds_cell_base_3(
> > >> CGAL::Triangulation_ds_cell_base_3<TDS>::Vertex_handle,
> > >> CGAL::Triangulation_ds_cell_base_3<TDS>::Vertex_handle,
> > >> CGAL::Triangulation_ds_cell_base_3<TDS>::Vertex_handle,
> > >> CGAL::Triangulation_ds_cell_base_3<TDS>::Vertex_handle)’:
> > >> /home/hake/local/include/CGAL/Triangulation_ds_cell_base_3.h:50:43:
> > >> error: ISO C++ forbids compound-literals
> > >>
> > >> I have last CGAL 3.9, g++ 4.5.2
> > >
> > > I'll take a look. CGAL 3.8 works, and I can reproduce the error with CGAL
> > > 3.9.
> >
> > I've just pushed a fix. CGAL 3.9 uses a g++-specific extension which
> > yields and error when using strict compiler flags. I've added a CGAL
> > flag to disable use of the g++ extension.
>
> Cool!

It works fine here.

Are there any license issues regarding the CGAL mesh generation library?

--
Anders


> Johan
>
> > Garth
> >
> > > Garth
> > >
> > >> Johan
> > >>
> > >> _______________________________________________
> > >> Mailing list: https://launchpad.net/~dolfin
> > >> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > >> Unsubscribe : https://launchpad.net/~dolfin
> > >> More help   : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References