but have no idea how to get the XS modules compiled.

It's just a matter of running 'perl Build.pl', 'perl Build', 'perl Build test' and 'perl Build install', fixing errors as they arise.
When I try to build ICC-Support-Lapack-0.6 on StrawberryPerl-5.28.0, I get the following error during the 'perl Build' stage:
src\xs_arrays.c:13:10: fatal error: Accelerate/Accelerate.h: No such f +ile or directory #include <Accelerate/Accelerate.h> ^~~~~~~~~~~~~~~~~~~~~~~~~
Where do I find Accelerate/Accelerate.h ?

<UPDATE>
I see that Accelerate/Accelerate.h is a macos system header.
So the first thing that needs to be done is to provide a replacement of that part of the macos system library for Windows.
</UPDATE>

Trying to build ICC-Support-Levmar-0.50, I get (during 'perl Build' step):
g++.exe -o "blib\arch\auto\ICC\Support\Levmar\Levmar.xs.dll" -Wl,--bas +e-file,"lib\ICC\Support\Levmar.base" -Wl,--image-base,0x2d170000 -mdl +l -s -L"C:\_64\strawberry-5.28.0\perl\lib\CORE" -L"C:\_64\strawberry- +5.28.0\c\lib" "lib\ICC\Support\Levmar.lds" -framework Accelerate "lib +\ICC\Support\Levmar.exp" g++.exe: error: Accelerate: No such file or directory g++.exe: error: unrecognized command line option '-framework' dlltool --def "lib\ICC\Support\Levmar.def" --output-exp "lib\ICC\Suppo +rt\Levmar.exp" --base-file "lib\ICC\Support\Levmar.base" dlltool: Unable to open base-file: lib\ICC\Support\Levmar.base g++.exe -o "blib\arch\auto\ICC\Support\Levmar\Levmar.xs.dll" -Wl,--ima +ge-base,0x2d170000 -mdll -s -L"C:\_64\strawberry-5.28.0\perl\lib\CORE +" -L"C:\_64\strawberry-5.28.0\c\lib" "lib\ICC\Support\Levmar.lds" -fr +amework Accelerate "lib\ICC\Support\Levmar.exp" g++.exe: error: Accelerate: No such file or directory g++.exe: error: unrecognized command line option '-framework'
I think there's some macos-specific stuff in there that needs to be replaced. Also, just before the above-quoted excerpt of the Levmar build I see:
Generating script 'lib\ICC\Support\Levmar.lds' dlltool --def "lib\ICC\Support\Levmar.def" --output-exp "lib\ICC\Suppo +rt\Levmar.exp"
Neither of those commands generate an error, but neither 'lib\ICC\Support\Levmar.lds' nor 'lib\ICC\Support\Levmar.exp' are created.

Cheers,
Rob

In reply to Re: Need Help Porting XS Modules to Windows by syphilis
in thread Need Help Porting XS Modules to Windows by wbirkett

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.