Subject: CGAL users discussion list
List archive
- From: Dror Atariah <>
- To:
- Subject: Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem
- Date: Tue, 26 Jun 2012 14:26:05 +0200
> I've tried the example on MacOS 10.7.4, with the default clang 3.1 from
> Apple and the two days ago released Eigen 3.1 and it works fine.
I tried to compile with the newest release of Eigen (3.1.0) and it didn't
work and returned:
---(Error Cite)---
/Users/drorata/Library/eigen3.1.0/Eigen/src/Core/util/Meta.h: In copy
constructor
‘Eigen::IterativeSolverBase<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> >
>::IterativeSolverBase(const
Eigen::IterativeSolverBase<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> > >&)’:
/Users/drorata/Library/eigen3.1.0/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:37:
instantiated from ‘bool
CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function() [with
Gt = CGAL::Epick]’
/Users/drorata/Documents/academics/programing/CGAL/Surface_reconstruction_points_3_CGAL_4/poisson_reconstruction_example.cpp:66:
instantiated from here
/Users/drorata/Library/eigen3.1.0/Eigen/src/Core/util/Meta.h:113: error:
‘Eigen::internal::noncopyable::noncopyable(const
Eigen::internal::noncopyable&)’ is private
/Users/drorata/Library/eigen3.1.0/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:37:
error: within this context
/Users/drorata/Library/eigen3.1.0/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:
In copy constructor ‘Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0,
int>, 1, Eigen::DiagonalPreconditioner<double> >::ConjugateGradient(const
Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 1,
Eigen::DiagonalPreconditioner<double> >&)’:
/Users/drorata/Library/eigen3.1.0/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:160:
instantiated from ‘bool
CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function() [with
Gt = CGAL::Epick]’
/Users/drorata/Documents/academics/programing/CGAL/Surface_reconstruction_points_3_CGAL_4/poisson_reconstruction_example.cpp:66:
instantiated from here
/Users/drorata/Library/eigen3.1.0/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:160:
note: synthesized method
‘Eigen::IterativeSolverBase<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> >
>::IterativeSolverBase(const
Eigen::IterativeSolverBase<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> > >&)’ first required here
/opt/local/include/CGAL/Eigen_solver_traits.h: In copy constructor
‘CGAL::Eigen_solver_traits<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> >
>::Eigen_solver_traits(const
CGAL::Eigen_solver_traits<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> > >&)’:
/opt/local/include/CGAL/Eigen_solver_traits.h:58: instantiated from ‘bool
CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function() [with
Gt = CGAL::Epick]’
/Users/drorata/Documents/academics/programing/CGAL/Surface_reconstruction_points_3_CGAL_4/poisson_reconstruction_example.cpp:66:
instantiated from here
/opt/local/include/CGAL/Eigen_solver_traits.h:58: note: synthesized method
‘Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 1,
Eigen::DiagonalPreconditioner<double> >::ConjugateGradient(const
Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 1,
Eigen::DiagonalPreconditioner<double> >&)’ first required here
/opt/local/include/CGAL/Poisson_reconstruction_function.h: In member function
‘bool CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function()
[with Gt = CGAL::Epick]’:
/opt/local/include/CGAL/Poisson_reconstruction_function.h:264: note:
synthesized method
‘CGAL::Eigen_solver_traits<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> >
>::Eigen_solver_traits(const
CGAL::Eigen_solver_traits<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> > >&)’ first required here
make[3]: ***
[CMakeFiles/poisson_reconstruction_example.dir/poisson_reconstruction_example.cpp.o]
Error 1
make[2]: *** [CMakeFiles/poisson_reconstruction_example.dir/all] Error 2
make[1]: *** [CMakeFiles/poisson_reconstruction_example.dir/rule] Error 2
make: *** [poisson_reconstruction_example] Error 2
---(Cite END)---
Returning to the alpha version compiled without errors. BTW, in order to
switch between the version I edited "include_directories (BEFORE
"~/Library/eigen3.1.0/")" in the CMakeLists.txt file.
> AFAIK the default compiler for 10.6.8 is llvm-gcc-4.2 which is rather
> ancient, but should be fine. Can you be a little bit more specific about
> what happens, e.g. compile in debug and add a stack trace here so we
> have an idea in which direction to look?
How can I find out which compiler I use? How can I compile in debug etc.? I'd
love to add any further needed piece of detail, but I'll need help finding
it...
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, (continued)
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Philipp Moeller, 06/20/2012
- [cgal-discuss] Re: Surface_reconstruction_points_3, macports, eigen problem, drorata, 06/20/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/20/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Sebastien Loriot (GeometryFactory), 06/20/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/20/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Sebastien Loriot (GeometryFactory), 06/21/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/22/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Sebastien Loriot (GeometryFactory), 06/22/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/26/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Philipp Möller, 06/26/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/26/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Philipp Moeller, 06/27/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/29/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Philipp Moeller, 06/29/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/29/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/22/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Sebastien Loriot (GeometryFactory), 06/21/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/20/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Sebastien Loriot (GeometryFactory), 06/20/2012
Archive powered by MHonArc 2.6.18.