Hi Steve, I have wrote that the attached WxPerl sample named minimalxrc is using XRC. This one you find in the attached ZIP Archive. This one works on older Mac OS X and and Windows systems, but it does not launch on the newer Mac (thats one I wrote all the details).
Does not work mean it crashes with the given error: "OnInit must return a true return value at minimalxrc.pl line 31" The helloworld.pl is a sample without XRC, which I used to test my installation (see my mail). So best would be you 1. check if the minimalxrc.pl is running on your system. If no you can reproduce the problem - would be nice what your environment is. I fear it is a perl 5.14 + actual Wx + actualwxPerl problem only existing on Mac OS X . . . thx for your reply Alexander Am 18.01.2012 um 11:40 schrieb Steve Cookson: > Hi Alexander, > > The reason I for one didn't contribute is that I have no idea what you are > reporting. > > Did your hello world crash? > > You give a lot of great details about something that happened to your > programme, but you don't say what the something was. > > A few words in English describing what is happening would really help. > > Regards > > Steve > > > > > -----Original Message----- > From: ademmler [mailto:n...@ademmler.com] > Sent: 16 January 2012 12:32 > To: wxperl-users@perl.org > Cc: Mark Dootson; Mattia Barbon > Subject: OnInit must return 1 error with newer WxPerl > > Hi Mark, Matthia and all the other folks. > > Attached is a minaml sample using Wx and XRC files. This code works on my > older Mac OS X and my windows box. > > On this particular system it does not: > Perl: This is perl 5, version 14, subversion 1 (v5.14.1) built for > darwin-thread-multi-2level > Wx: 2.8.12 (from Macports) > wxPerl: Wx is up to date (0.9903 from cpan) > In order to test my installation I did run the helloworld.pl sample attached > successfully. > > My Error even OnInit has "return 1" set: > rocket:$ perl minimalxrc.pl > OnInit must return a true return value at minimalxrc.pl line 31 > > Anny ideas would be great! > thx and greetings > Alexander > >