Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] undefined reference to `mpfr_init2'

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] undefined reference to `mpfr_init2'


Chronological Thread 
  • From: Eric Berberich <>
  • To:
  • Subject: Re: [cgal-discuss] undefined reference to `mpfr_init2'
  • Date: Thu, 21 Nov 2013 21:05:43 +0100

(this list is in english)

Which operating system are you using? In a linux/macos enviroment,
please check whether mpfr is installed using your package manager. Under
windows, mpfr should come with CGAL.

Which version of GMP are you using?

eriC



On 11/21/13 5:07 PM,

wrote:
> Hallo,
>
> arbeite zurzeit mit CGAL und seitdem ich den
> CGAL::Exact_predicates_exact_constructions_kernel als Kernel für Polygon
> Intersection abfragen verwende, erhalte ich beim Kompilieren folgende
> Fehlermeldung:
>
> In function
> `CGAL::Real_embeddable_traits<CGAL::Gmpq>::To_interval::operator()(CGAL::Gmpq
> const&) const':
> /usr/include/CGAL/Gmpq.h:92: undefined reference to `mpfr_init2'
> /usr/include/CGAL/Gmpq.h:93: undefined reference to `mpfr_set_q'
> /usr/include/CGAL/Gmpq.h:94: undefined reference to `mpfr_get_d'
> /usr/include/CGAL/Gmpq.h:95: undefined reference to `mpfr_set_q'
> /usr/include/CGAL/Gmpq.h:96: undefined reference to `mpfr_get_d'
> /usr/include/CGAL/Gmpq.h:97: undefined reference to `mpfr_clear'
>
> Die gmp libraries binde ich ein, aber auch die scheinen mpfr_init2 nicht
> zu enthalten. In CGAL selbst konnte ich die Definition aber auch nicht
> finden.
>
> Hatte vielleicht schon einmal jemand das Problem und kann mir weiter helfen?
>
> Vielen Dank,
> Ann-Katrin Häuser
>
>
>
>
>




Archive powered by MHonArc 2.6.18.

Top of Page