1

I a new C++ user and have only Visual studio 2008 installed. It seems from this link: Brian Gladman's Home Page

There is already "Visual Studio 2010 project build files for building MPFR", which is only for VC2010 and my VS cannot open it. mpfr.svn.build.vc10.zip

My questions are: 1) where can I find a version for VS2008? 2) or how can I produce it myself since there are already new updates of mpfr? project files for mpfr

thank you!

######### Problem Solved

Solution: download this pre-compiled mpfr and config VC complier will be OK! mpfr_mpir_x86_x64_msvc2010.zip

LCFactorization
  • 1,652
  • 1
  • 25
  • 35
  • I didnot build the source code myself, but downloaded a precompiled mpfr (vc10 versions available) and solved the problem. – LCFactorization Oct 30 '13 at 23:30
  • I noticed the original link of these precompiled files has been dead. So I share my own backup for any others' reference here: – LCFactorization Oct 30 '13 at 23:39
  • Please put a look at [my answer](https://stackoverflow.com/a/73852387/941531), just wrote it now, it describes in very details 3 ways of compiling GMP and MPIR under Windows VisualStudio. – Arty Sep 26 '22 at 09:57

1 Answers1

2

It seems the pre-compiled mpfr library binary by VC++2010 works for both VC++2008 and VC++2010 compliers; the precompiled mpfr library binaries can be found here( link from the original author is now dead; please use this link instead): mpfr_mpir_x86_x64_msvc2010.zip

(it seems the original author's website now works again: please visit here: Brian Gladman's guidelines on MPIR & MPFR installation for more detailed information.)

The configuration details of VC++ compliers are similar to those for mpir library as in this link: How to Install and Run GMP on Windows Using MPIR

Windows users are highly recommended to take a look at Pavel's website here: Pavel Holoborodko who is the author of the C++ wrapper: mpfrc++-3.5.6.zip

LCFactorization
  • 1,652
  • 1
  • 25
  • 35