Question

This question is about how to install "mpfr" with visual studio 2010 in windows OS.

Though I have actually solved the mpfr installation problem by using a pre-compiled mpfr library (see the details here: install mpfr via precompiled mpfr library), I would still prefer to rebuild it myself since I am new and can learn more in C++ and Visual studio through such experience.

However, per the guidelines in Brian Gladman's GMP/MPIR/MPFR/MPC page and after downloading the mpfr.svn.build.vc10 and mpfr-3.0.0.build.vc10, I failed to rebuild them myself per the readme.txt inside.

Is there anyone who has successfully rebuilt them? I would need more detailed guidelines on this for newbies.

Thank you!

Was it helpful?

Solution

I've built MPIR, MPFR, and MPC with Visual Studio as part of gmpy ( https://code.google.com/p/gmpy/ ). A full snapshot of my directory structure, with all the source files, is available as https://gmpy.googlecode.com/files/full-src-mpir-mpfr-mpc-gmpy2-2.0.2.zip

Look for a file called windows_build.txt; it contains my notes for building a new release of gmpy2. It may not answer all your questions but it will give you a known working environment to start from.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top