Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: wxPerl Tutorial one :: The basics

by Anonymous Monk
on Apr 01, 2009 at 14:27 UTC ( [id://754715]=note: print w/replies, xml ) Need Help??


in reply to wxPerl Tutorial one :: The basics

i can't get wxperl installation working :((

Replies are listed 'Best First'.
Re^2: wxPerl Tutorial one :: The basics
by runrig (Abbot) on Apr 01, 2009 at 15:42 UTC
    Well, that's very...descriptive. Did you try floobing the fromitz?
      rotflmao
Re^2: wxPerl Tutorial one :: The basics
by HelenCr (Monk) on Mar 18, 2013 at 10:29 UTC

    For the benefit of PerlMonks users: if you install DWIM Perl, it already includes Wx. (I have one Windows machine like that).

    Alternatively, with Strawberry Perl (and cpanp), I have installed Wx with no problems, (on another Windows machine).
    I had been using Win32::GUI, but it seems that it does not support Unicode, so I had to turn to another GUI system on Perl, and I chose wxWidgets.

Re^2: wxPerl Tutorial one :: The basics
by james28909 (Deacon) on May 29, 2014 at 00:00 UTC
    For anyone trying to get wxperl working, I used Active State perl (latest 32bit, reason being ). Then in ppm I added this repository: http://www.wxperl.co.uk/repository/package.xml
    Then I installed Wx from Mattia Barbon, and that downloaded alien wxwidgets aswell. Then if your using WxGlade... you may need to change:

    use Wx 0.15 qw[:allclasses];
    to
    use Wx;.

    Doing this will let you create an executable with Perlapp.
    If you get an error message after running the app.exe about not being able to set locale to "en", then open your app.pl script and find Wx::Locale->new("English", "en", "en"); and delete both instances of "en".
    When you create an executable out of the script with Perlapp, you may need to manually add modules. Also do not forget to "Hide Console" under options 2 tab in perlapp :P
    Good Luck

      Doing this will let you create an executable with Perlapp.

      *giggle* instead of working the "perlapp" program as it likes to be worked, change your source code

        i have run into another brick wall, but the gui works to a certain extent. i have a program that i am simply trying to display the md5's of all files in a directory (usually up to 25 - 30 md5s) the md5's come from a scalar "$md5" ironically lol, but im having a very hard time figuring out how to actually display that md5 in listctrl. using a listctrl i can have a column for the md5, another for the filename another for the filesize in bytes ect, please help :'( lol
Re^2: wxPerl Tutorial one :: The basics
by Anonymous Monk on Jul 23, 2009 at 13:29 UTC
    Hello Anonymous,

    an (apparently pretty common) error is that you use a (bugged?) version of the module Alien-wxWidgets together with ActiveStatePerl.
    I first tried 0.43 from CPAN together with ActiveStatePerl and that didn't work.
    Although someone said that 0.43 works fine with StrawberryPerl, I'm not sure about that. I did some "research" on the web and someone said that you should use 0.39.
    I deleted the 0.43 version and installed the 0.39-one => everything workes fine.
    If you have another error, a little bit more information would be useful ;)
    Greetings,

    Shinama

      Damn, forgot to log in, sorry about that ;( Greetings, Shinama
      ---------------------------------------------------
      "You read too much and understand too little."
      Moiraine Damodred (The Wheel of Time)
      Seconding the recommendation for Strawberry Perl; I've been using ActiveState (sporadically) and it failed the CPAN installation of Wx, so I loaded Strawberry and it worked with no further ado.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-03-29 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found