Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Need help setting CGAL on MacOSX

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Need help setting CGAL on MacOSX


Chronological Thread 
  • From: Gamal Akabani <>
  • To:
  • Subject: Re: [cgal-discuss] Need help setting CGAL on MacOSX
  • Date: Sat, 9 Jun 2007 10:20:16 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=ITKblHzPpC+HN2BYpr8Ged2jHugnoNPr/1j7v7ZY/XATq0Ukmn+jSl2SqH9henQwZNkVl3/5pdixqw/Ikl3k+QycDZUceuRyw4LDgtcNtLwf6KjXHG24/cEz+WW654ChG/ZBb1oK64n6xQ1XPPrxZfeS4OQkxCEGNghcZrDQOaU=

Dear Laurent and Sylvan:

Your recommendations fixed the problem, I reinstalled GMP, GMPXX via FINK and force the CGAL install package to look for them in /sw/ include and /sw/lib.
In this manner when I tested CGAL for its dependencies (T option) it came out as 'supported.'
Thanks a bunch, I am new in this area a I will be bothering you through my learning curve.
Again, Thank you and kind regards.

Gamal


On Jun 9, 2007, at 4:54 AM, Laurent Rineau wrote:

On Saturday 09 June 2007 06:31:51 Gamal Akabani wrote:
Dear All,

I am installing CGAL on MacOS 10.4.9 using i386_Darwin-8.9 gcc
compiler GNU 4.0.1.
I installed boost and all is well. However, I compiled the libraries
and I got a small problem at the end of the creation of the last
library as follows where libCGALCore shared failed to build as shared
library. I thank anyone that can help me understand this problem.

You are trying to link a shared library (libCGALcore.dylib) with a static one
(/usr/local/libgmp.a). That is not possible (for PIC¹ reasons).

¹) PIC: position independant code. A shared library needs its code to be
relocatable (PIC), where a static library usually contain non-PIC code.

You need to recompile you GMP library into a shared library. Use the
flag "--enable-shared" in the "./configure" command line.

--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE

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