I lost a wall of text now....
I followed the guide, then I get these errors when building the P4 version:
Error 17 error MSB3721: The command ""C:\Program Files
(x86)\Microsoft Visual Studio 11.0\VC\bin\"vsyasm.exe -Xvc -f Win32 -g cv8
-i "..\..\mpn\x86_64w\\" -o "Win32\Release\mpn\\" -rnasm -pnasm
..\..\mpn\x86w\add_n.asm ..\..\mpn\x86w\addmul_1.asm
..\..\mpn\x86w\copyd.asm ..\..\mpn\x86w\copyi.asm
..\..\mpn\x86w\divexact_1.asm ..\..\mpn\x86w\divexact_by3c.asm
..\..\mpn\x86w\divrem_1.asm ..\..\mpn\x86w\lshift.asm
..\..\mpn\x86w\mod_1.asm ..\..\mpn\x86w\mod_34lsub1.asm
..\..\mpn\x86w\mul_1.asm ..\..\mpn\x86w\mul_basecase.asm
..\..\mpn\x86w\rshift.asm ..\..\mpn\x86w\sub_n.asm
..\..\mpn\x86w\submul_1.asm ..\..\mpn\x86w\udiv_qrnnd.asm
..\..\mpn\x86w\umul_ppmm.asm" exited with code 1.
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\vsyasm.targets
45 5 lib_mpir_p4
Warning 1 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 2 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 3 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 4 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 5 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 6 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 7 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 8 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 9 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 10 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 11 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
Warning 12 warning : can open only one input file, only the last file
will be processed
c:\txt\suli\VII\szakdoli\RC\SOURCE\2\mpir-2.5.2\mpir-2.5.2\build.vc10\lib_mpir_p4\yasm
lib_mpir_p4
when compiling the gc and cxx versions, i get a bunch of object files:
http://i138.photobucket.com/albums/q280/martonr/general_c.png
Since the error message said vsyasm.exe instead of yasm.exe, i renamed it.
It did not solve the problem.
On Thursday, October 11, 2012 12:51:40 AM UTC+2, Richard Marton wrote:
>
> 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?
>
> Thanks for your time.
>
--
You received this message because you are subscribed to the Google Groups
"mpir-devel" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/mpir-devel/-/20cWCu6ZX58J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mpir-devel?hl=en.