-----Original Message-----
From: Richard Marton
Sent: Wednesday, October 10, 2012 11:51 PM
To:
mpir-...@googlegroups.com
Subject: [mpir-devel] Compiling MPIR in visual studio 2010 and 2012
Hello there!
I am Richard Marton, a hungarian college student who is trying to use MPIR
to develop an RSA-coder in c++.
I have found this guide to compile and install MPIR in Visual Studio 2010.
http://www.exploringbinary.com/how-to-install-and-run-gmp-on-windows-using-mpir/
After downloading the archive, documentation and placing vsyasm.exe, i tried
to compile using the P4 library version. I got a really long error code,
like there was a wrong semicolon in one of the commands about vsyasm.exe. I
have reinstalled my windows 7 and updated to VS2012 but the same error
appears. The general C version compiles but some of the result files are
missing.
My main question is: do I really need to compile MPIR for myself or can I
use someone else's already compiled libraries in Visual Studio C++? If the
latter is true, please help me out.
My computer has a core 2 duo processor but I'd like to have compatibility,
so i would choose general c. Or do i need to use Cygwin or Linux to use this
library?
=====================================
Hi Richard,
It is normally necessary to compile MPIR for yourself but you might find
someone who will be willing to do it for you.
But another option is to describe your problems in more detail here so that
we can help you to resolve the errors you are experiencing.
Can you indicate the versions of Visual Studio 2010 and MPIR that you are
using?
Can you also post the error messages and any other output you obtain when
you try to build the p4 and generic versions of MPIR?
Are you selecting the right platform and configuration (e.g. Win32 and
release for the P4 version)?
Are you trying to use the static or DLL libraries? And are you selecting
the right run-time libraries in your own code - MPIR uses specific runtime
libraries and you need to use the same ones in your own code (or change
these in MPIR).
When you say that the generic C build works but some result files are
missing, can you list the files you expect to see that are not present?
If you can supply these details, we may be able to tell you what is going
wrong.
with regards,
Brian Gladman