Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] build error with poisson_reconstruction_example
- Date: Thu, 23 Jan 2014 16:43:33 +0100
- Organization: GeometryFactory
My guess is that you are not using cmake to generate your makefile/solution and you missed in the documentation this sentence:
"If Eigen 3.1 (or greater) is available and CGAL_EIGEN3_ENABLED is defined, an overload with Eigen_solver_traits<XXX> as default solver is
provided."
http://doc.cgal.org/latest/Surface_reconstruction_points_3/classCGAL_1_1Poisson__reconstruction__function.html#a5b01f27b151690449f33c9eb421f7c97
The solution is to either define CGAL_EIGEN3_ENABLED before including the reconstruction file or use the version taking explicitly the solver traits.
Sebastien.
On 01/23/2014 03:41 PM, vanessa wrote:
Hi
when I tried to build the poisson_reconstruction_example,
http://doc.cgal.org/latest/Surface_reconstruction_points_3/Surface_reconstruction_points_3_2poisson_reconstruction_example_8cpp-example.html
<http://doc.cgal.org/latest/Surface_reconstruction_points_3/Surface_reconstruction_points_3_2poisson_reconstruction_example_8cpp-example.html>
I got the error:
c:\program
files\cgal-4.2-beta1\examples\surface_reconstruction_points_3\poisson_reconstruction_example.cpp(64):
error C2780: 'bool
CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function(SparseLinearAlgebraTraits_d,bool)'
: expects 2 arguments - 0 provided1> with
1> [
1> Gt=Kernel
1> ]
1> c:\program
files\cgal-4.2-beta1\include\cgal\poisson_reconstruction_function.h(519) :
see declaration of
'CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function'
1> with
1> [
1> Gt=Kernel
1> ]
1>c:\program
files\cgal-4.2-beta1\examples\surface_reconstruction_points_3\poisson_reconstruction_example.cpp(64):
error C2780: 'bool
CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function(SparseLinearAlgebraTraits_d,Visitor,double,double)'
: expects 4 arguments - 0 provided1> with
1> [
1> Gt=Kernel
1> ]
1> c:\program
files\cgal-4.2-beta1\include\cgal\poisson_reconstruction_function.h(366) :
see declaration of
'CGAL::Poisson_reconstruction_function<Gt>::compute_implicit_function'
1> with
1> [
1> Gt=Kernel
1> ]
1>
1>Build FAILED.
1>
I am using eigen3.2.0,cgal-4.2-beta1, I have no idea how to fix it.
Any help would be greatly appreciated.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/build-error-with-poisson-reconstruction-example-tp4658698.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] build error with poisson_reconstruction_example, vanessa, 01/23/2014
- Re: [cgal-discuss] build error with poisson_reconstruction_example, Sebastien Loriot (GeometryFactory), 01/23/2014
- Re: [cgal-discuss] build error with poisson_reconstruction_example, vanessa, 01/23/2014
- Re: [cgal-discuss] build error with poisson_reconstruction_example, Sebastien Loriot (GeometryFactory), 01/23/2014
Archive powered by MHonArc 2.6.18.