Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Monks,

As part of a project at work I need to utilize PDL::Opt::Simplex to do a little optimization. Being on a windows box, not all the modules I would desire are available via PPM. PDL-2.4.2 appears to be that way. So in order to get the functionality I need I went about learning how to install/compile modules that include c++. I read all the relevant tutorials and SoPW via super search. I was able to make progress so that there was less complaining by Makefile.pm and nmake. Nmake still dies and throws the error below:

C:\PDL-2.4.2>nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SY
S -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"2.4.2\"
-DXS_VERSION=\"2.4.2\" -IC:\Perl\lib\CORE pdlcore.c
pdlcore.c
c1 : warning C4349: /Gf is deprecated and will not be supported in future versio ns of Visual C++; remove /Gf or use /GF instead
pdlcore.c(22) : warning C4101: 'ref' : unreferenced local variable
pdlcore.c(71) : warning C4244: 'initializing' : conversion from 'double' to 'PDL _Byte', possible loss of data
pdlcore.c(72) : warning C4244: 'initializing' : conversion from 'double' to 'PDL _Short', possible loss of data
pdlcore.c(73) : warning C4244: 'initializing' : conversion from 'double' to 'PDL _Ushort', possible loss of data
pdlcore.c(74) : warning C4244: 'initializing' : conversion from 'double' to 'PDL _Long', possible loss of data
pdlcore.c(75) : warning C4244: 'initializing' : conversion from 'double' to 'PDL _LongLong', possible loss of data
pdlcore.c(76) : warning C4244: 'initializing' : conversion from 'double' to 'PDL _Float', possible loss of data
pdlcore.c(88) : warning C4244: 'initializing' : conversion from 'double' to 'PDL _Float', possible loss of data
pdlcore.c(100) : warning C4101: 'hash' : unreferenced local variable
pdlcore.c(140) : warning C4101: 'fake' : unreferenced local variable
pdlcore.c(144) : warning C4101: 'dat' : unreferenced local variable
pdlcore.c(402) : warning C4018: '<' : signed/unsigned mismatch
pdlcore.c(455) : warning C4101: 'msg' : unreferenced local variable
pdlcore.c(709) : error C2036: 'void *' : unknown size
pdlcore.c(927) : error C2036: 'void *' : unknown size
pdlcore.c(1145) : error C2036: 'void *' : unknown size
pdlcore.c(1363) : error C2036: 'void *' : unknown size
pdlcore.c(1581) : error C2036: 'void *' : unknown size
pdlcore.c(1799) : error C2036: 'void *' : unknown size
pdlcore.c(2017) : error C2036: 'void *' : unknown size
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.

I was wondering if this error was still a complier setup problem or a problem that runs deeper with the PDL setup. Obviously I could be doing something wrong that is very apparent, but I donít see it. I would like to learn how to compile modules on windows but Iím really looking for a solution that will get Opt::Simplex working. Thank you all in advance for your wise answers.

-hokie


In reply to Windows PDL complie issue by hokie

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (5)
    As of 2014-08-02 04:01 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Who would be the most fun to work for?















      Results (54 votes), past polls