Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] question on Installation on unix

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] question on Installation on unix


Chronological Thread 
  • From: Joachim Reichel <>
  • To:
  • Subject: Re: [cgal-discuss] question on Installation on unix
  • Date: Sun, 08 Feb 2009 23:59:41 +0100

Hi,

> We have installed the demo and dev packages you said.
>
> This is the result for "dpkg -l | grep cgal"
> ==============
> ii libcgal-demo 3.4-1~etch1 C++ library for
> computational geometry (demos)
> ii libcgal-dev 3.4-1~etch1 C++ library for
> computational geometry (development files)
> ii libcgal3 3.4-1~etch1 C++ library for
> computational geometry
> ===============

ok, looks good.

> And I typed in the command that you said,
> "g++ -I/tmp/CGAL-3.4/include -frounding-math -L/tmp/CGAL-3.4/lib -lCGAL
> abc.cpp -o abc.out"

But then the -I and -L directives should not be necessary.

> And the error message now I get is
> ===================
> /usr/include/gmpxx.h: In destructor
> '__gmp_alloc_cstring::~__gmp_alloc_cstring()':
> /usr/include/gmpxx.h:1389: error: 'mp_get_memory_functions' was not
> declared in this scope
> ===================

Something is wrong with the GMP installation on your machine. gmpxx.h should
include gmp.h which defines 'mp_get_memory_functions'. Maybe your admins can
fix
that with "apt-get install --reinstall libgmp3-dev libgmp3c2 libgmpxx4".

Joachim



Archive powered by MHonArc 2.6.16.

Top of Page