Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] symbols/.pdb files for libgmp and libgmpfr on Windows

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] symbols/.pdb files for libgmp and libgmpfr on Windows


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] symbols/.pdb files for libgmp and libgmpfr on Windows
  • Date: Tue, 05 May 2015 09:33:46 +0200
  • Organization: GeometryFactory

On 03/26/2015 09:06 PM, John DiMatteo wrote:
Hello,

Are there .pdb files available for GMP and MPFR precompiled libs that
are installed as part of CGAL-4.5.2-Setup.exe ? I am not very familiar
with these libraries, but it seems non-trivial to build them on Windows.

I'm working on testing some multithreading code using CGAL, and when I
run Intel Inspector to check for data races, I found data races in
_gmp_get_memory_functions, _gmpq_init, _gmpz_set, and and mpfr_set_q.
Without symbols, it is difficult for me to determine if the data race is
caused by my incorrect usage of CGAL or a bug in these libraries.

Thanks,
John
The number type Gmpq and the Kernel Exact_kernel_exact_constructions_kernel that is using it
are not thread-safe.

Could you try updating CGAL/Exact_predicates_exact_constructions_kernel.h
to replace typedef internal::Exact_field_selector<double>::Type Epeck_ft;

by
typedef ::mpq_class Epeck_ft

to see if it solves the issue?

Thanks,

Sebastien.


  • Re: [cgal-discuss] symbols/.pdb files for libgmp and libgmpfr on Windows, Sebastien Loriot (GeometryFactory), 05/05/2015

Archive powered by MHonArc 2.6.18.

Top of Page