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: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] cgal 3.4 under mac os x 10.5
  • Date: Mon, 16 Feb 2009 18:12:08 +0100
  • Organization: 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