← Back to team overview

dolfin team mailing list archive

CGAL build problem

 

I just tried building DOLFIN on Snow Leopard (with freshly installed dependencies from Dorsal). I get the list of errors below. Any ideas?

[ 97%] Building CXX object dolfin/CMakeFiles/dolfin.dir/quadrature/BarycenterQuadrature.cpp.o
cc1plus: warnings being treated as errors
/opt/local/include/CGAL/Lazy.h: In member function ‘typename CGAL::Qualified_result_of<typename R_::Compute_x_3, CGAL::Point_3<R_>, void, void, void, void, void, void, void>::type CGAL::Point_3<R_>::x() const [with R_ = CGAL::Lazy_kernel<CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::Cartesian_converter<CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::NT_converter<CGAL::Gmpq, CGAL::Interval_nt<false> > > >]’: /opt/local/include/CGAL/Lazy.h:335: warning: ‘<anonymous>.CGAL::Lazy_construction_nt<CGAL::Lazy_kernel<CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::Cartesian_converter<CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::NT_converter<CGAL::Gmpq, CGAL::Interval_nt<false> > > >, CGAL::CartesianKernelFunctors::Compute_x_3<CGAL::Simple_cartesian<CGAL::Interval_nt<false> > >, CGAL::CartesianKernelFunctors::Compute_x_3<CGAL::Simple_cartesian<CGAL::Gmpq> > >::ec’ is used uninitialized in this function /opt/local/include/CGAL/Lazy.h:1229: note: ‘<anonymous>.CGAL::Lazy_construction_nt<CGAL::Lazy_kernel<CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::Cartesian_converter<CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::NT_converter<CGAL::Gmpq, CGAL::Interval_nt<false> > > >, CGAL::CartesianKernelFunctors::Compute_x_3<CGAL::Simple_cartesian<CGAL::Interval_nt<false> > >, CGAL::CartesianKernelFunctors::Compute_x_3<CGAL::Simple_cartesian<CGAL::Gmpq> > >::ec’ was declared here
{standard input}:unknown:Undefined local symbol LC3
{standard input}:unknown:Undefined local symbol LC6
{standard input}:unknown:Undefined local symbol LC9
{standard input}:unknown:Undefined local symbol LC10
{standard input}:unknown:Undefined local symbol LC11
{standard input}:unknown:Undefined local symbol LC16
{standard input}:unknown:Undefined local symbol LC1
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/quadrature/BarycenterQuadrature.cpp.o] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2


--
Anders