Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] Need help setting CGAL on MacOSX
- Date: Sat, 9 Jun 2007 11:54:03 +0200
- Organization: Inria, Sophia Antipolis, FRANCE
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
- Need help setting CGAL on MacOSX, Gamal Akabani, 06/09/2007
- Re: [cgal-discuss] Need help setting CGAL on MacOSX, Laurent Rineau, 06/09/2007
- Re: [cgal-discuss] Need help setting CGAL on MacOSX, Gamal Akabani, 06/09/2007
- Re: [cgal-discuss] Need help setting CGAL on MacOSX, Sylvain Pion, 06/09/2007
- Re: [cgal-discuss] Need help setting CGAL on MacOSX, Laurent Rineau, 06/09/2007
Archive powered by MHonArc 2.6.16.