Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] cgal 3.4 under mac os x 10.5

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] cgal 3.4 under mac os x 10.5


Chronological Thread 
  • From: Szymon Stoma <>
  • To:
  • Subject: Re: [cgal-discuss] cgal 3.4 under mac os x 10.5
  • Date: Mon, 16 Feb 2009 18:50:07 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=AvQiyBT1W2DY+7FnWjkOo00DkuUpmcCsYVHr37g30wS0fbwUJv7yUq9mBcnWmnW/9+ EmZkTRdDVMhMs9JLLnCCppcirdpbO98YG+gn7v5ILcJc8NhRHBD2mFXfEyl3YhH9eKm3 XT8KwUZp2LKKi3/3Yw4mYTYDGCvHp3LVVBXqc=

OK. i removed the compiled version of gmp and mfpr and used the fink packages instead. it worked! so this is the solution i recomand for mac os x users for cgal=3.4 and mac os x=10.5. now i will try python bindings.. 

2009/2/16 Laurent Rineau (GeometryFactory) <>
On Monday 16 February 2009 17:39:38 Szymon Stoma wrote:
> OK. so i spend all the morning.. and no effects. but in order:1. i
> downloaded: CGAL-3.4
>
> 2. i used cmake:
> cmake .
> OR
> cmake . -DCGAL_SHARED_LINKER_FLAGS="-Wl,-search_paths_first"
> OR
> cmake . -DCGAL_CXX_FLAGS="-Wl,-search_paths_first"
> i got the result i attached to this file (for the first
> line -DCGAL_SHARED_LINKER_FLAGS)
>
> 3. i compiled with "make" but, i did get the messages i also attached.
>
> the most important error (first one ;] ) was:
> ld: warning in /usr/local/lib/libmpfr.dylib, file is not of required
> architecture


Hi,


When and how have you installed those mpfr and gmp libraries in /usr/local/include/ and /usr/local/lib/? It seems you have an intel processor but mpfr and gmp are for powerpc (or the inverse).


Try to add "-v" to both CGAL_CXX_FLAGS and CGAL_SHARED_LINKER_FLAGS, so that one can see more debug output from the compiler.


Note that I am not a Mac user. For me, the way macos handles libraries is a real mess, that is quite hard to debug. I hope we will manage to help you. Maybe there are lucky macos users on the list.


--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/






Archive powered by MHonArc 2.6.16.

Top of Page