Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: New PDL problem on Windows XP SP2

by jschollen (Sexton)
on Feb 14, 2006 at 12:05 UTC ( #530102=note: print w/replies, xml ) Need Help??


in reply to Re: New PDL problem on Windows XP SP2
in thread New PDL problem on Windows XP SP2

Thanks for the code.

Should I compile this code once I've downloaded it?
When I run: perl MakeFile.pl
and than: nmake
I still get the same error:
cp Window.pm ..\..\..\blib\lib\PDL\Graphics\PGPLOT\Window.pm C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\ +Perl\lib\E xtUtils\typemap -typemap typemap Window.xs > Window.xsc && C:\Perl\bi +n\perl.exe -MExtUtils::Command -e mv Window.xsc Window.c Please specify prototyping behavior for Window.xs (see perlxs manual) cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_ST RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_I +MPLICIT_SY S -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION +=\"2.4.2cv s\" -DXS_VERSION=\"2.4.2cvs\" "-IC:\Perl\lib\CORE" Window.c Window.c c1 : warning C4349: /Gf is deprecated and will not be supported in fut +ure versio ns of Visual C++; remove /Gf or use /GF instead Window.xs(82) : warning C4305: '=' : truncation from 'double' to 'floa +t' Window.xs(83) : warning C4305: '=' : truncation from 'double' to 'floa +t' Running Mkbootstrap for PDL::Graphics::PGPLOT::Window () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Window.b +s C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('N +AME'=>\"PD L::Graphics::PGPLOT::Window\", 'DLBASE' => 'Window', 'DL_FUNCS' => { +}, 'FUNCLI ST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:..\..\..\blib\arch\auto\PDL\Graphics\PGPLOT\Window\W +indow.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\ +CORE" -ma chine:x86 Window.obj C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel +32.lib use r32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib +ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib vers +ion.lib od bc32.lib odbccp32.lib msvcrt.lib -def:Window.def Creating library ..\..\..\blib\arch\auto\PDL\Graphics\PGPLOT\Window +\Window.li b and object ..\..\..\blib\arch\auto\PDL\Graphics\PGPLOT\Window\Window +.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 ..\..\.. +\blib\arch \auto\PDL\Graphics\PGPLOT\Window\Window.dll C:\Perl\bin\perl.exe -MExtUtils::Command -e cp Window.bs ..\.. +\..\blib\a rch\auto\PDL\Graphics\PGPLOT\Window\Window.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 ..\..\.. +\blib\arch \auto\PDL\Graphics\PGPLOT\Window\Window.bs cp LUT.pm ..\..\blib\lib\PDL\Graphics\LUT.pm NMAKE : fatal error U1095: expanded command line '@ C:\Perl\bin\perl.e +xe -MExtUt ils::Install -e "pm_to_blib({@ARGV}, '..\..\..\blib\lib\auto', '')" st +airs9.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/stairs9.fits random3.fits +..\..\..\b lib\lib\PDL\Graphics\LUT\tables/random3.fits ramp.fits ..\..\..\blib\ +lib\PDL\Gr aphics\LUT\tables/ramp.fits aips0.fits ..\..\..\blib\lib\PDL\Graphics +\LUT\table s/aips0.fits idl4.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl4 +.fits sta irs8.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/stairs8.fits rand +om5.fits . .\..\..\blib\lib\PDL\Graphics\LUT\tables/random5.fits rainbow2.fits . +.\..\..\bl ib\lib\PDL\Graphics\LUT\tables/rainbow2.fits random2.fits ..\..\..\bl +ib\lib\PDL \Graphics\LUT\tables/random2.fits rainbow4.fits ..\..\..\blib\lib\PDL +\Graphics\ LUT\tables/rainbow4.fits rainbow.fits ..\..\..\blib\lib\PDL\Graphics\ +LUT\tables /rainbow.fits smooth2.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/ +smooth2.fi ts blue.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/blue.fits smo +oth3.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/smooth3.fits red.fits ..\.. +\..\blib\l ib\PDL\Graphics\LUT\tables/red.fits green.fits ..\..\..\blib\lib\PDL\ +Graphics\L UT\tables/green.fits random4.fits ..\..\..\blib\lib\PDL\Graphics\LUT\ +tables/ran dom4.fits bgyrw.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/bgyrw. +fits colo r.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/color.fits staircase +.fits ..\. .\..\blib\lib\PDL\Graphics\LUT\tables/staircase.fits idl6.fits ..\..\ +..\blib\li b\PDL\Graphics\LUT\tables/idl6.fits light.fits ..\..\..\blib\lib\PDL\ +Graphics\L UT\tables/light.fits rainbow3.fits ..\..\..\blib\lib\PDL\Graphics\LUT +\tables/ra inbow3.fits idl11.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl1 +1.fits id l15.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl15.fits backgr. +fits ..\.. \..\blib\lib\PDL\Graphics\LUT\tables/backgr.fits manycol.fits ..\..\. +.\blib\lib \PDL\Graphics\LUT\tables/manycol.fits isophot.fits ..\..\..\blib\lib\ +PDL\Graphi cs\LUT\tables/isophot.fits random6.fits ..\..\..\blib\lib\PDL\Graphic +s\LUT\tabl es/random6.fits idl2.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/i +dl2.fits idl12.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl12.fits rando +m1.fits .. \..\..\blib\lib\PDL\Graphics\LUT\tables/random1.fits pastel.fits ..\. +.\..\blib\ lib\PDL\Graphics\LUT\tables/pastel.fits idl5.fits ..\..\..\blib\lib\P +DL\Graphic s\LUT\tables/idl5.fits smooth.fits ..\..\..\blib\lib\PDL\Graphics\LUT +\tables/sm ooth.fits idl14.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/idl14. +fits' too long Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop.

Replies are listed 'Best First'.
Re^3: New PDL problem on Windows XP SP2
by syphilis (Bishop) on Feb 15, 2006 at 07:10 UTC
    Looks to me that our outputs are basically similar until we get to:

    cp LUT.pm ..\..\blib\lib\PDL\Graphics\LUT.pm

    At that point you get some error message (the likes of which I've not seen before) whereas I simply get:

    nmake -f Makefile all -nologo

    Could you provide the output of 'perl -V' and tell us which compiler you're using. I hope you aren't using that free command line version of Visual Studio 7 that Microsoft have made available ... or that if you are using that compiler, then you have built your perl using that compiler. I'm not sure that I'm all that keen about troubleshooting the building of PDL with that compiler unless perl itself has been built with that compiler .... but I'll reserve judgement on that, for the moment :-)

    Also, take a look at the PDL win32/INSTALL file. Is there anything there that you find to be an acceptable (alternative) way of building PDL (as opposed to the way you're currently trying to build it) ?

    Cheers,
    Rob
      Could you provide the output of 'perl -V' and tell us which compiler you're using. I hope you aren't using that free command line version of Visual Studio 7 that Microsoft have made available ... or that if you are using that compiler, then you have built your perl using that compiler.

      Sorry - when I go back and look at your original post, it seems you are using that free compiler. (I would still like to see 'perl -V', however.) Could the problem be with nmake v1.50 ? I think there should be a more recent version of nmake that came with one of the other packages that you downloaded. If so maybe give it a try instead.

      Cheers,
      Rob
        Hi Rob,

        Thanks a million.
        You gave the sollution!
        The nmake version (1.5) was not good.
        I verified and noticed that Microsoft Platform SDK also had an nmake. When I used this one, it worked :-)
        I did had to turn off slatec, but that's fine for me.
        The new PDL version compiles ok with windows XP SP2 if you use the free tools.

        Thanks,

        Jonathan

        In case you still need it: the perl -V gave me:

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://530102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (13)
As of 2021-04-15 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?