Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Surface reconstruction

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Surface reconstruction


Chronological Thread 
  • From: Simon Giraudot <>
  • To:
  • Subject: Re: [cgal-discuss] Surface reconstruction
  • Date: Thu, 01 Oct 2015 17:02:05 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:AVwhUBe0v02NnGsdu3dU8nT4lGMj4u6mDksu8pMizoh2WeGdxc6/Yh7h7PlgxGXEQZ/co6odzbGG7+a+AydQud6oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDuvcOJKFUQzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IAu3GePEzQrVcSTgnKGso/9bDtB/ZTALJ6GFPfH8Rl09zAg3C6lnVX434ryf9qqIpwyifOsuwQrEuUCmu6LtDRxLvjSobLS83+WrLjdZhyqlcpUTy9FRE34fIbdTNZ7JFdaTHcIZCSA==

Le 01/10/2015 16:44, klissa a écrit :
Hi all,

I am a new user of CGAL. I would like to mesh and import, from a 3D point
cloud, a model.

Following the user manual, I decided to try the "Surface reconstruction
using" the given example.
I obtained the following message:
In file included from
/home/klissa/Desktop/data/data_CGAL/surface_rec_from_point.cpp:11:0:
/usr/local/include/CGAL/Poisson_reconstruction_function.h: In member
function ‘bool
CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function(bool)’:
/usr/local/include/CGAL/Poisson_reconstruction_function.h:537:13: error:
‘Eigen_solver_traits’ does not name a type
typedef
Eigen_solver_traits<Eigen::ConjugateGradient&lt;Eigen_sparse_symmetric_matrix&lt;double>::EigenType>
Solver;
^
/usr/local/include/CGAL/Poisson_reconstruction_function.h:538:38: error:
‘Solver’ was not declared in this scope
return compute_implicit_function<Solver>(Solver(), smoother_hole_filling);
^
make[2]: ***
[CMakeFiles/surface_rec_from_point.dir/surface_rec_from_point.cpp.o] Error 1
make[1]: *** [CMakeFiles/surface_rec_from_point.dir/all] Error 2
make: *** [all] Error 2
I have seen other message about the same topic, but I couldn't solve mine.
I am running the last version of CGAL on Ubuntu 14.04.3 (I am not an expert
user!).
Can anyone help me?
Kind regards,

Carolina



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Surface-reconstruction-tp4661178.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

Hello,

From the error you are getting, I am guessing you do not have the Eigen library installed. You need this library for the Surface Reconstruction package: http://doc.cgal.org/4.7/Manual/installation.html#thirdpartyEigen
Eigen should be easy to install on Ubuntu (probably from the official repository although I did not check).
If you already have Eigen, you should check if you are correctly including it at compilation.

(If you are using a CMakeList, this should do it:

find_package( Eigen3 3.1.0 )
if( EIGEN3_FOUND )
include( ${EIGEN3_USE_FILE} )
endif()

)

Let me know if you still have trouble!

Best,

--
Simon Giraudot, PhD
R&D Engineer
Geometry Factory - http://geometryfactory.com/




Archive powered by MHonArc 2.6.18.

Top of Page