Subject: CGAL users discussion list
List archive
- From: Eric Berberich <>
- To:
- Subject: Re: [cgal-discuss] Re:error compiling algebraic_curves example
- Date: Thu, 24 Feb 2011 10:30:48 +0100
Joachim Reichel wrote:
Hi,
I'm running on Mac OS X 10.6.5 Intel Core 2 Duo (64-bit) and I'm compiling
with g++ 4.2.1. Boost has been downloaded following the link provided in
the CGAL installation manual and the version is 1.40.0.
I'm also attaching the hw_rounding.hpp lines.
Thanks
#ifndef BOOST_NUMERIC_INTERVAL_HW_ROUNDING_HPP
#define BOOST_NUMERIC_INTERVAL_HW_ROUNDING_HPP
#include <boost/numeric/interval/rounding.hpp>
#include <boost/numeric/interval/rounded_arith.hpp>
#define BOOST_NUMERIC_INTERVAL_NO_HARDWARE
// define appropriate specialization of rounding_control for built-in types
#if defined(__x86_64__) && defined(__USE_ISOC99)
# include <boost/numeric/interval/detail/c99_rounding_control.hpp>
looking at the conditions of this include it seems that __USE_ISOC99 is not
defined. Can you try the compiler option -std=c99 ?
Thanks Joachim for pointing out. Indeed on Mac OS this option is needed.
eriC
- [cgal-discuss] Re:error compiling algebraic_curves example, cecilia, 02/22/2011
- Re: [cgal-discuss] Re:error compiling algebraic_curves example, Joachim Reichel, 02/24/2011
- Re: [cgal-discuss] Re:error compiling algebraic_curves example, Eric Berberich, 02/24/2011
- Re: [cgal-discuss] Re:error compiling algebraic_curves example, Joachim Reichel, 02/24/2011
Archive powered by MHonArc 2.6.16.