develooper Front page | perl.wxperl.users | Postings from June 2011

Re: Alien::wxWidgets questions

Thread Previous | Thread Next
From:
Mark Dootson
Date:
June 13, 2011 05:55
Subject:
Re: Alien::wxWidgets questions
Message ID:
4DF6088A.50704@znix.com
Hi,

No doubt you'll get a more informative and complete response from 
Mattia, but from me

On 13/06/2011 13:11, Ahmad Zawawi wrote:
> Hi,
>
> Since i worked a lot lately with Alien::wxWidgets while building and
> testing Wx::Scintilla, I acquired a couple of questions and feature
> requests for Alien::wxWidgets.
>
> - How can one decide whether wxWidgets is installed from source or
> linked against system wxWidgets?
> - What are the supported Alien::wxWidgets configurations over
> ActivePerl? ActivePerl + cl works but is ActivePerl + gcc working?

I use mingw-w64 32 and 64 bit gcc compilers to build against all current 
versions of ActivePerl. A recent gcc from mingw.org works too.

Occasionally, in the past, a particular release of ActivePerl broke gcc 
compatibility, though I can't remember the last one. (one of the 5.10.1 
releases)

For this reason I'm in the habit of still using ExtUtils::FakeConfig, 
creating my own libperl5xx.a and loading a Config_w64.pm
( http://www.wxperl.co.uk/building/Config_w64.pm )

> - What are the supported Alien::wxWidgets configurations of over
> Linux, Mac OS X and other platforms?

Not sure what you mean?

> - How can one could 'require Alien::wxWidgets;' and then call
> Alien::wxWidgets->compiler without a 'use Alien::wxWidgets' it?
>
> Please note that I am asking about the supported configurations to
> develop a proper Wx::Scintilla test plan. Hopefully, I will get more
> tester reports for Wx::Scintilla on different platforms.
>
> P.S. I need PAUSE *co-maintainer permission* on Wx::Event so I can
> extend it without the PAUSE indexer complaints.

you can also defeat indexer by splitting the package line

package

   Wx::Event;

alternatively, you can add your events in your XS code - which may be 
the preferred way for new stuff. See Wx source
ext/richtext/RichText.xs

Hope it helps.

Mark



>
> Thanks and your time is greatly appreciated,
> Ahmad M. Zawawi


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About