ActiveState Community

Problem getting wxPerl to work

Posted by ianmcaulay on 2009-09-30 02:50

Hi

I'm a longtime user of Perl and user of ActivePerl for several years but not so far with wxPerl.

I'm using the latest ActivePerl (5.10.1 build 1006) on my development box which runs Windows XP pro (SP3 fully updated).

wxPerl appears to be installed by default (PPM thinks it is and files with the right sort of names seem to be in the right sort of places).

I tried it first with Jouke Visser's tutorial script at http://www.perl.com/pub/a/2001/09/12/wxtutorial1.html

I get the following error message:

Can't load 'C:/Perl/site/lib/auto/Wx/Wx.dll' for module Wx: load_file:Invalid access to memory location at C:/Perl/lib/XSLoader.pm line 70. at C:/Perl/site/lib/Wx.pm line 143
Compilation failed in require at wxhello-1.pl line 3.
BEGIN failed--compilation aborted at wxhello-1.pl line 3.

(wxhello-1.pl is what I called the example and line 3 is just use Wx;)

It looks as though something isn't installed correctly, but I'm not sure where to go from here. (I just rely on perl installs doing everything for me without worrying too much about what they actually do.)

Any advice on where to go from here would be hugely appreciated.

Ta

Ian