Thanks, Roode. Here's my error output from strawberry perl.
DB<1> use Wx; Can't load 'C:/strawberry/perl/site/lib/auto/Wx/Wx.dll' for module Wx: load_file :Invalid access to memory location at C:/strawberry/perl/lib/DynaLoader.pm line 203. at (eval 8)[C:/strawberry/perl/lib/perl5db.pl:638] line 2 Compilation failed in require at (eval 8)[C:/strawberry/perl/lib/perl5db.pl:638] line 2. at (eval 8)[C:/strawberry/perl/lib/perl5db.pl:638] line 2 main::BEGIN() called at C:/strawberry/perl/site/lib/Wx.pm line 2 eval {...} called at C:/strawberry/perl/site/lib/Wx.pm line 2 eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop; use Wx;; ;' called at C:/strawberry/perl/lib/perl5db.pl line 638 DB::eval called at C:/strawberry/perl/lib/perl5db.pl line 3434 DB::DB called at -e line 1 BEGIN failed--compilation aborted at (eval 8)[C:/strawberry/perl/lib/perl5db.pl: 638] line 2. at (eval 8)[C:/strawberry/perl/lib/perl5db.pl:638] line 2 eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop; use Wx;; ;' called at C:/strawberry/perl/lib/perl5db.pl line 638 DB::eval called at C:/strawberry/perl/lib/perl5db.pl line 3434 DB::DB called at -e line 1 On Fri, Sep 4, 2009 at 3:32 AM, Roode, Eric<ero...@barrack.com> wrote: > On Thursday, September 03, 2009, Jacky Jack wrote: >> >> No way for me. >> >> When I compile wxWidgets with MS VC++ , I get: error PRJ0003 : Error >> spawning 'cmd.exe' >> >> When I compile it under strawberry perl, I get the same: Can't spawn >> "cmd.exe": No such file or directory at inc/My/Build/Base.pm line 28 >> 0. >> >> Any idea? > > You shouldn't need to compile wxWidgets yourself. If you are using > ActivePerl, the ActiveState people have compiled it already, and > you can install it via 'ppm'. If you are using Strawberry, then > installing the module Alien::wxWidgets will invoke the MinGW that > comes with Strawberry. > > HTH, > Eric Roode > >