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: Hanjun Kim <>
  • To:
  • Subject: Re: [cgal-discuss] question on Installation on unix
  • Date: Sun, 8 Feb 2009 18:24:09 -0600 (CST)

We've reinstalled the gmp; we typed exactly what you suggested. But still
have the same error.

Could you tell me anything that I can check if something is wrong?

Thanks,
Hanjun





On Sun, 8 Feb 2009, Joachim Reichel wrote:

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
--
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