Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] building error on Mac 10.7

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] building error on Mac 10.7


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] building error on Mac 10.7
  • Date: Fri, 29 Mar 2013 17:19:56 +0100
  • Organization: GeometryFactory

Le vendredi 29 mars 2013 11:05:52 Shiyuan a écrit :
> Hi all,
> I tried two ways to install cgal on Mac 10.7, but both fail. Any help is
> appreciated.

Which version of CGAL.

> 1. `sudo port install cgal` gives the follow errors. It looks like that
> cgal doesn't work with boost
> @1.53.0_1+no_single+no_static+openmpi+python27which is installed in my mac.


> opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse
> error at "BOOST_JOIN"

The macport distribution seems buggy. You should report to them.

> 2. I also try to build cgal from source. It seems to be able to build the
> library, but when I try to build the examples, I got the following error:
>
> clang: warning: argument unused during compilation: '-frounding-math'

The CGAL project does not support the Apple "clang" before MacOS X 11.4. On
10.7, you need to use a real GNU gcc (not the one packaged by Apple). Maybe
you can use macport to install a regular gcc version.

Recently, homebrew seems more reliable than macport or fink:
http://mxcl.github.com/homebrew/

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page