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: Shiyuan <>
  • To:
  • Subject: Re: [cgal-discuss] building error on Mac 10.7
  • Date: Fri, 29 Mar 2013 13:20:32 -0500



On Fri, Mar 29, 2013 at 11:19 AM, Laurent Rineau (CGAL/GeometryFactory) <> wrote:
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.
CGAL 4.1  

> 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.
Changing to gcc compiler solves the problem.



Archive powered by MHonArc 2.6.18.

Top of Page