From: <an...@fr...> - 2006-08-10 10:49:06
|
an...@fr... wrote: > Hi! > > I get this new error at this line: Wx::AcceleratorTable->new( [ > wxACCEL_CTRL, 'B', $wid{match} ] ); > where $wid{match} has some value 444. > Note this worked for me in the past using Perl.5.6.1 > I have just migrated to Perl 5.8.8.. > I installed M/MB/MBARBON/Wx-0.55.tar.gz using CPAN module... > I did get an error while I did so. > All tests successful, 1 test and 16 subtests skipped. > Files=15, Tests=583, 6 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) > Can't find string terminator "'" anywhere before EOF at -e line 1. > NMAKE : fatal error U1077: 'D:\m\perl\bin\perl.exe' : return code '0x2' > > which I decided to ignore and install wxperl in the command line. > I typed make install... > That worked but when I ran my application I got the error above... > > I wonder what is wrong.. > I also got a similar error running the sample program controls.pl.... > Thanks for help in advance.. > > Note I also installed Alien::Widgets and also got various errors running > the demo.pl. > For dynamic html example, I got > 00:50:37: Error: Failed to load shared library > 'D:/m/perl/site/lib/Alien/wxWidgets/msw_2_6_3_cl_0/lib/wxbase26_xml_vc_custom.dll' > Despite of that fact, that I installed Alien/wxWidgets properly as far > as I could see.. > > > Regards > > Márton Papp > > > I found a solution to the first problem. When I replaced 'B' in Wx::AcceleratorTable->new( [ wxACCEL_CTRL, 'B', $wid{match} ] ); with ord('B')... It works as intended. Márton Papp |