Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Surface reconstruction compiler error


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Surface reconstruction compiler error
  • Date: Thu, 15 Oct 2009 00:18:10 +0200
  • Organization: GeometryFactory

Le mercredi 14 octobre 2009 23:38:54, David Doria a écrit :
> I tried to compile the Surface_reconstruction_points_3 example, and on this
> line:
> unsigned char ind[3] = {(in+1)&3,(in+2)&3,(in+3)&3};

I thought that syntax was only usable when the values in { } were constant
expressions. I do not understand why you get the following error message, but
it may be related.

> I received the error:
> error: narrowing conversion of '(((int)in1) & 3)' from 'int' to 'unsigned
> char' inside { }



> Also, I am linking to libCGAL and libtaucs but still getting lots of
> linking errors
>
> SurfaceReconstruction.cpp:(.text.__gmpq_neg[__gmpq_neg]+0x1c): undefined
> reference to `__gmpq_set'
>
> Which other libraries do I need to link to?

gmp

--
Laurent Rineau, PhD
Release Manager of the CGAL Project
http://www.cgal.org/
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.16.

Top of Page