in reply to NMAKE : fatal error U1095

I've built PDL with nmake (though I usually use dmake) and I've never struck anything like what you're getting.

Firstly, which version of PDL are you trying to install ? (I assume it's version 2.4.3 from CPAN ... please correct me if that's not the case.)

Secondly, which version of nmake are you running ? (Run nmake /P and look for _NMAKE_VER near the beginning. Alternatively, there was probably some output that told you the version when you ran 'nmake'.) There's an old version of nmake readily downloadable on the internet that's not suitable for building PDL (or many other modules, for that matter) ... I think it reports as version 1.5, but I could be way off.

Thirdly, which C compiler (and version of that compiler) are you using ? (If your using Visual Studio, did the 'nmake' that you're using ship with that edition of Visual Studio.)

As a general observation, you'll get much better functionality out of your build of PDL if you have the MinGW compiler - unless you also already have f2c and associated libraries libi77.lib and libf77.lib.

You'll be hard pressed to improve on the functionality provided by the uwinnipeg ppm package ... and if you *do* improve on that, I would definitley like to know what improvements you made, and how you achieved them :-)
That said, however, you have every right to build PDL for yourself, and we'll try to help out where we can.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: NMAKE : fatal error U1095
by jai_dgl (Beadle) on Sep 11, 2008 at 14:36 UTC
    my PDL version is PDL 2.4.3
    NMAKE is 1.5
    MinGW 3.1.0
    as well I have Visual Studio.


    thanks
    Jey

      Somewhere in yout Visual Studio directory tree there will be a newer copy of nmake.exe. Copy that over the copy of nmake.exe v1.5 that cpan downloaded. From mmeory, I think cpan puts it in your x:\perl\bin directory, but it's been a while.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.