Subject: CGAL users discussion list
List archive
- From: Dror Atariah <>
- To:
- Subject: Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem
- Date: Fri, 29 Jun 2012 10:01:21 +0200
1. I tried to recompile the example with the new .h file Philipp attached and
using 3.1.0 release of Eigen3. This ended with the following compilation
error:
---(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
---(Error Cite END)---
which I think I already had once.
2. I then reverted back to 3.1.0-alpha1 release of Eigen and this time the
compilation (as expected) was OK, but when running it I got the segmentation
error. So I tried to recompile in the debug mode. Here's the output of the
"backtrace" of "gdb":
---(gdb Backtarce)---
#0 0x0000000100033e4f in
Eigen::DiagonalPreconditioner<double>::compute<Eigen::SparseMatrix<double, 0,
int> > ()
#1 0x0000000100068bcc in
CGAL::Poisson_reconstruction_function<CGAL::Epick>::solve_poisson<CGAL::Eigen_solver_traits<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> > > > ()
#2 0x000000010006c375 in
CGAL::Poisson_reconstruction_function<CGAL::Epick>::compute_implicit_function<CGAL::Eigen_solver_traits<Eigen::ConjugateGradient<Eigen::SparseMatrix<double,
0, int>, 1, Eigen::DiagonalPreconditioner<double> > > > ()
#3 0x000000010000f1d3 in main ()
---(gdb Backtrace END)---
So, at the end of the day, I'm still facing a dead end...
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, (continued)
- 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
- Re: [cgal-discuss] Surface_reconstruction_points_3, macports, eigen problem, Dror Atariah, 06/20/2012
Archive powered by MHonArc 2.6.18.