Subject: CGAL users discussion list
List archive
- From: Vivien Clauzon <>
- To:
- Subject: Re: [cgal-discuss] Question about win64 CGAL version
- Date: Wed, 16 Nov 2011 17:05:48 +0100
Many thanks !
 |
Vivien CLAUZON
Ingénieur d'études et de recherche |
 |
6, allée Alan
Turing - BP 30242 - Parc Technologique de la Pardieu
63175 AUBIERE Cedex - FRANCE
Tél: 33 (0)4 73.28.75.95 - Fax: 33 (0)4.73.28.75.99
Web: http://www.numtech.fr |
 |
Le 16/11/2011 17:02, Sebastien Loriot (GeometryFactory) a écrit :
On the
download page of CGAL you can get them:
32bits version:
https://gforge.inria.fr/frs/download.php/27232/gmp-5.0.1_and_mpfr-3.0.0_precompiled_i686.zip
64bits version:
https://gforge.inria.fr/frs/download.php/27233/gmp-5.0.1_and_mpfr-3.0.0_precompiled_x64.zip
Sebastien.
Vivien Clauzon wrote:
Answer to myself :
this link seems to provide a usable prebuild for mpir compatible
with gmp : http://www.holoborodko.com/pavel/mpfr/
Best regards
NUMTECH <http://www.numtech.fr> Vivien CLAUZON
Ingénieur d'études et de recherche
6, allée Alan Turing - BP 30242 - Parc Technologique de la
Pardieu
63175 AUBIERE Cedex - FRANCE
Tél: 33 (0)4 73.28.75.95 - Fax: 33 (0)4.73.28.75.99
Web: http://www.numtech.fr
Le 16/11/2011 16:39, Vivien Clauzon a écrit :
Hello,
I've just tried to use CGAL for a win64 visual studio 10
project and i'm facing quite an issue. Indeed, allthough my
project compiles and works fine in 32 bits, I cannot get it to
compile in 64 bits because of the missing gmp and mpfr in
CGAL-3.9\auxiliary\gmp\lib and the missing tauc in
CGAL-3.9\auxiliary\taucs.
I can find 64 bits pre build tauc binaries, or I can build it
myself if requiered, but I can't find a way to get 64 bits gmp
and mpfr.
It seems that mpir (http://mpir.org/) can provide a solution
but entry points in mpir.lib and gmp.lib are differents as
cgal is looking for things like "__imp___gmpz_clear" while
mpir is providing "__gmpz_clear".
Of course, in the documentation of CGAL, i can read :/
Gmp and Mpfr are libraries for multi precision integers and
rational numbers, and for multi precision floating point
numbers./
/Cgal combines floating point arithmetic with exact
arithmetic, in order to be efficient and reliable. Cgal has a
built-in number type for that, but Gmp and Mpfr provide a
faster solution, and we recommend to use them./
/Having Gmp version 4.2 or higher and Mpfr version 2.2.1 or
higher installed is recommended. These libraries can be
obtained from http://gmplib.org/ and http://www.mpfr.org/,
respectively./
/As Visual C++ is not properly supported by the Gmp and Mpfr
projects, we provide precompiled versions of Gmp and Mpfr,
which can be downloaded with the installer
CGAL-3.9-Setup.exe./
and using the apropriate flag in CMAKE I was able to get CGAL
working without gmp in both 32 and 64 bits and finally link my
project correctly.
Finaly my question is .... does someone have found a way to
use gmp in 64 bits windows projects ?
Thanks in advance.
NUMTECH <http://www.numtech.fr> Vivien CLAUZON
Ingénieur d'études et de recherche
6, allée Alan Turing - BP 30242 - Parc Technologique de la
Pardieu
63175 AUBIERE Cedex - FRANCE
Tél: 33 (0)4 73.28.75.95 - Fax: 33 (0)4.73.28.75.99
Web: http://www.numtech.fr
|
Archive powered by MHonArc 2.6.16.