dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19941
CGAL build problem
-
To:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
From:
Anders Logg <logg@xxxxxxxxx>
-
Date:
Tue, 19 Oct 2010 16:45:05 +0200
-
User-agent:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
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