On May 26, 8:10 am, Peter_APIIT <[email protected]> wrote:
> On 23 May, 18:30, Cactus <[email protected]> wrote:
>
>
>
> > On May 23, 11:06 am, Peter_APIIT <[email protected]> wrote:
>
> > > On 23 May, 13:31, Bill Hart <[email protected]> wrote:
>
> > > > I just tried building MPIR with the latest MSYS on my K8 and no
> > > > problems. So something strange is going on I think.
>
> > > > Admittedly I have Vista and not XP.
>
> > > > Also, I note that all 9 of the first 9 tests fail on Peter's machine.
> > > > Thus I think it is likely not just a failing test as such, but
> > > > something MSYS or XP specific.
>
> > > > Peter can you let us know whether you have Windows Vista or Windows
> > > > Vista Professional x64 Edition?
>
> > > I have MS Window XP
>
> > > > Another thing to do would be to post the file config.log from the top
> > > > level directory of the source tree so we can see what it says. It
> > > > might help us track down your problem.
>
> > > Here is the config.log file.
> > [snip]
> > > How to build MPIR in MS VC++ build system ?
>
> > If you are using VC++ Express SP1, just double click on the mpir.sln
> > file, open the solution explorer window in VC++ (if not already open),
> > right click on the 32-bit version you want to build in the solution
> > explorer and make it the current project and then select build and it
> > will build it.  You can't build the 64-bit projects in VC++ Express
> > though - you need a full version of Visual  Studio 2008 to do this.
>
> > To build the test projects you open and build mpir-tests in the same
> > way but you need to ensure that you build the same configuration - e.g
> > Win32/Release.  THere is a pyton program runtests.py in the
> > build.vc9\mpir-tests subdirectory that will run the tests after you
> > have built them.
>
> > If you run into trouble I will do what I can to help with advice.
>
> I try with this approach bu there are error too once i double click
> it.
>
> Error Message is
>
> 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.
>
> Thanks.

Hi Peter,

Here are the steps you need to perform to solve this:

1. Obtain a working version of YASM on Windows, for example, win32.exe
from here:

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

2. Rename 'win32.exe' to 'yasm.exe' and then put it in the directory:

   'C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\

3. Copy the 'yasm.rules' file from the 'mpir\build.vc9' directory in
mpir into the directory:

   C:\Program Files\Microsoft Visual Studio 9.0\VC\VCProjectDefaults\

     Brian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to