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: Fri, 13 Aug 2010 09:32:06 +0200

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.



Archive powered by MHonArc 2.6.16.

Top of Page