in reply to Re: Embedded perl on windows x64
in thread Embedded perl on windows x64

Hi Rob,
thank you, I'm baffled, because I thought this was from perlembed but the link you provided
proves I'm wrong, but still 100% sure, that the posted code runs on ubuntu 19.04, strange.

The code change, partially, did it.
Now an exception is raised at perl_destruct but let me first check the docs once again,
maybe I'm still missing something.
And thanks for the mingw example as well.
I keep this thread updated.

Thank you
Eko

Replies are listed 'Best First'.
Re^3: Embedded perl on windows x64
by syphilis (Archbishop) on Aug 01, 2019 at 12:22 UTC
    ... the posted code runs on ubuntu 19.04

    Yes - the C code you posted also works fine for me on Ubuntu-18.04, perl-5.30.0.
    Apparently different operating systems can have different requirements.

    Also bear in mind that requirements across different versions of perl might change.
    The perlembed documentation that I linked to earlier is for perl-5.30.0.
    It might be more pertinent to check the perlembed docs by running perldoc perlembed, as that will give you the documentation for the version of perl that you have installed.

    Cheers,
    Rob
      Thanks for the confirmation and the hint about perldoc utility.
      Very much appreciated.
      Thank you
      Eko