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 16:19:21 -0600 (CST)

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

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"

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

Thanks,
Hanjun






On Sun, 8 Feb 2009, Joachim Reichel wrote:

Hi,

Actually, it was installed by computer staff in my department. So, now
we have 3.4 installed, but it still doesn't work. We installed using
[...]
This file is in /tmp/CGAL-3.4/include/CGAL now.

If the file is not in /usr/include/CGAL, then your admins did NOT install the
Debian packages (at least not in a proper way). Did you install CGAL yourself
to
/tmp/GGAL-3.4?

In case of further problems, please post the output of "dpkg -l | grep cgal".
If
you installed CGAL yourself, please post all the steps you performed in order
to
install CGAL. Without you providing the necessary information, I do not see
any
chance to help you.

Anyway you should now be able to build your example with
$g++ -I/tmp/CGAL-3.4/include -frounding-math -L/tmp/CGAL-3.4/lib -lCGAL
abc.cpp
-o abc.out

Note that usually the contents of /tmp get deleted on reboot ...

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