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: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Implementation of real data type of LEDA
  • Date: Mon, 16 Aug 2010 11:50:21 +0200

chintan mandal wrote:
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

If you want to use LEDA with CGAL, you need to configure CGAL to
indicate that LEDA is present on your system (this defines
specialization of some functors used internally), this is not simply
a problem of include/library paths.

S.


On Fri, Aug 13, 2010 at 1:02 PM, Sebastien Loriot (GeometryFactory) <sloriot.ml <http://sloriot.ml>@gmail.com <http://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