On Jun 30, 3:06 am, Peter_APIIT <peterap...@gmail.com> wrote:
> On Jun 26, 7:05 pm, Cactus <rieman...@googlemail.com> wrote:
>
>
>
> > On Jun 26, 9:55 am, Peter_APIIT <peterap...@gmail.com> wrote:
>
> > > On Jun 24, 5:17 pm, Cactus <rieman...@googlemail.com> wrote:
>
> > > > On Jun 24, 9:35 am, Peter_APIIT <peterap...@gmail.com> wrote:
>
> > > > > OK, i using Visual Studio Express C++ 2008 to build MPIR but how to
> > > > > build it?
>
> > > > > Anyone here can teach me.
>
> > > > Hello Peter
>
> > > > In order to build MPIR using Visual Studio 2008 you need to know how
> > > > to use Visual Studio Express to build software.
>
> > > > Obviously if you don't know how to use Visual Studio Express, you
> > > > won't find it possible to build MPIR without a lot of very basic help.
>
> > > > Before I explain how to builld MPIR with Visual Studio Express, could
> > > > you please confrim that you understand how to do the following:
>
> > > > 1. download and unpack ZIP files
> > > > 2. Using Windows explorer to naviage around the Windows file system
> > > > 3. Opening, creating and renaming and deleting Windows files and
> > > > directories.
> > > > 4. Opeing Visual Studio *.sln files in Visual Studio 2008 Express
> > > > 5. The commands that Visual Studio Express provides to build software.
>
> > > > I ask because, although I can help you build MPIR with Visual Studio
> > > > Express, you obviously need to know how to do all the above things
> > > > before I can start.
>
> > > > In particular, if you don't know how to use Visual Studio Express, you
> > > > either need to learn this using the documentation provided by
> > > > Microsoft (quite hard to do) or, better, find someone you knoww who
> > > > can guide you in its use.
>
> > > I probably understand what you mentioned here.
>
> > > >4. Opeing Visual Studio *.sln files in Visual Studio 2008 Express
>
> > > Open the project solution explorer file.
>
> > > > 5. The commands that Visual Studio Express provides to build software.
>
> > > There is Microsoft Visual studio express command prompt. I think i can
> > > handle it. I accept the challenge.
>
> > > Please guide me. My whole life is depends on you.
>
> > Hello Peter
>
> > In the files section of this google group I have uploaded a revised
> > set of instructions for building MPIR using Visual Studio.
>
> > This has kindly been improved by Jeff Gilchrist and will replace the
> > existing version in the next MPIR release.
>
> > So please download this readme.txt file from the files here (click on
> > the 'File' item in the google group menu).
>
> > Then read and follow these instructions carefully and you should be
> > able to build MPIR with Visual Studio Express.
>
> > I will try and help you if you run into trouble and I am sure Jeff
> > will too.
>
> I try to build the library by navigate to folder name build.vc9 and
> double click the the Microsoft Visual Studio 2009 project file name
> mpir and encounter an error which is like this.
>
> A dialog display the following error.
>
> Project file lib_mpir_p0.vcproj or a referenced file has failed to
> load.
>
> Please correct the error and reload the project.
>
> The following error has occurred during XML parsing:
>
> File: C:\msys\1.0\home\nicholas_tse
> \mpir-1.1\build.vc9\lib_mpir_p0\lib_mpir_p0.vcproj
> Line: 19
> Column: 4
> Error Message:
> Custom build rules file 'C:\Program Files\Microsoft Visual Studio
> 9.0\VC\VCProjectDefaults\yasm.rules' was not found or failed to load.
> The file 'C:\msys\1.0\home\nicholas_tse
> \mpir-1.1\build.vc9\lib_mpir_p0\lib_mpir_p0.vcproj' has failed to
> load.
>
> Then i try to look for lib_mpir _p0 folder but i found there are i
> Microsoft VS project file name lib_mpir_p0.
>
> Why the mpir cannot find it ?

Hello Peter,

In the readme.txt file it says:

-------------------------------
You will also need to move the yasm.rules file from this distribution
into the directory
where Visual Studio 2008 expects to find it, which is typically:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
\VCProjectDefaults
-------------------------------

Did you find the place on your computer where Visual Studio Express is
installed?

If so can you tell us where it is?

If you found it, did you move the yasm.rules file into the \VC
\VCProjectDefaults subdirectory inside your Visual Studiuo Express
installation directory?


In the readme.txt file it says:

-------------------------------
If you wish to use the assembler files you will need the YASM
x86/x64 assembler (r1438 or later) for Windows which can be
obtained from:

  http://www.tortall.net/projects/yasm/

This assembler should be placed in the bin directory used by
VC++, which, for Visual Studio 2008, is typically:

 C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin

It should be named yasm.exe.
-------------------------------

Did you download win32.exe from:

   http://www.tortall.net/projects/yasm/wiki/Download

and rename it to yasm.exe?

Did you then move yasm.exe into the \VC\bin subdirectory inside your
Visual Studiuo Express installation directory?

>From the error messages it looks as if you have not done either or
both of these steps. Or you have not done them properly.

I noticed also that you are trying to build version 1.1 of MPIR.  You
might consider moving to MPIR 1.2

    Brian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to