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

Re: Need help debugging Wx on Strawberry Perl 5.26.1

by jcb (Parson)
on Aug 26, 2019 at 03:09 UTC ( [id://11105020]=note: print w/replies, xml ) Need Help??


in reply to Need help debugging Wx on Strawberry Perl 5.26.1

Your wxWidgets library appears to have been built with a different and incompatible C++ compiler from the one Perl is using for building XS modules.

  • Comment on Re: Need help debugging Wx on Strawberry Perl 5.26.1

Replies are listed 'Best First'.
Re^2: Need help debugging Wx on Strawberry Perl 5.26.1
by thechartist (Monk) on Aug 26, 2019 at 03:33 UTC

    What I do not understand is I am building from sources obtained via CPAN. The ABI numbers are so close, but I don't know what to do to get the sources to compile so it can be linked to the Perl interpreter.

    The following link is the exact error, except with different ABI numbers referenced.

      Do I remember correctly that Strawberry Perl bundles a compiler? If so, are you using it? Is the build for Wx compiling wxWidgets from source or getting a prebuilt binary from somewhere? If there is a prebuilt wxWidgets involved, you will probably need to build that library from source using the compiler bundled with Strawberry Perl.

      Have you considered using Tk instead if you cannot get Wx to build?

        Yes, I am using the compiler bundled with Strawberry perl. I'm running into errors simply using Makefile.PL. I tried that to reproduce the errors obtained when running the CPANM client.

        I am installing from CPAN -- so the Wx package provides me with sources only AFAICT. That is why it is so confusing. I'm using GCC 7.1.0.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-25 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found