Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Implementation of real data type of LEDA

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Implementation of real data type of LEDA


Chronological Thread 
  • From: chintan mandal <>
  • To:
  • Subject: Re: [cgal-discuss] Implementation of real data type of LEDA
  • Date: Mon, 16 Aug 2010 15:12:00 +0530
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wvXU4/TuB4xISA6neB4i5i9C3p2XG6dN3sB2QWunucTTUkcHjUVSGTJy/V77QHVNuR 8354r9jTrd1Pff1nsokTtmGxZ9M1J0DA0CkWOiAmee0b19t/gRuxM0DpylwV67ToUIaI 7d83voUCsYcWqAPFz3Ey/NYDy5QG7aK37IWgA=

Hello Sebastien,
Thank you for the solution.
However, since I am using the Netbeans IDE in the Fedora platform, the process is much more easier.
One can just go to the properties of the project and add the Leda library from the installed directory through the given interface.

thank you.
chintan

On Fri, Aug 13, 2010 at 1:02 PM, Sebastien Loriot (GeometryFactory) <sloriot.ml@gmail.com> wrote:
Chintan Mandal wrote:
Hello everybody,
I am presently trying to implement the leda real data type.
I am working in the Netbeans environment in Fedora.
I have included the leda_basic.h and leda_real.h in the program.
However, when I am trying to declaring a variable by :
real x;
                  I am getting an error:
error: `real` does name a type.
The path to the header files are no problem, as the builder in Netbeans have
found no errors in it.
I want to know that how one can implement the real data type for CGAL
programming.
I want some examples.

Chintan.

You need to install CGAL with the support for LEDA as explained in the installation manual here:
http://www.cgal.org/Manual/latest/doc_html/installation_manual/contents.html

cmake -DWITH_LEDA=ON
-DLEDA_CXX_FLAGS="-ffriend-injection" -DLEDA_INCLUDE_DIR=PATH_TO_LEDA_INCLUDE_DIR
-DLEDA_LIBRARIES=PATH_TO/libleda.so -DLEDA_LINKER_FLAGS="-lX11" .

Then maybe leda::real x; will make it.


S.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss





Archive powered by MHonArc 2.6.16.

Top of Page