develooper Front page | perl.wxperl.users | Postings from March 2012

Re: Wx Release 0.9905

Thread Previous | Thread Next
From:
Mark Dootson
Date:
March 19, 2012 02:11
Subject:
Re: Wx Release 0.9905
Message ID:
4F66F82C.4030000@znix.com
Hi

On Windows -
You can't build with current release of Strawberry :-(
The compiler needs updating. I expect the next release of Strawberry 
will be OK as they are aware of the issue.
For ActivePerl, any MSVC should work. Get MinGW from perlmingw.sf.net

On Linux, you'll need the gtk development packages and freeglut-dev. If 
you're particularly interested in wxMediaCtrl, see list posts from Steve 
Cookson.

Then

perl Build.PL  - and answer the prompts choosing 'yes' - I want to build 
from source, and giving 2.9.3 as the version, tar.bz2 as the archive type.

For a build with no prompts:

perl Build.PL --wxWidgets-version=2.9.3 --wxWidgets-source=tar.bz2 
--wxWidgets-build=1 --wxWidgets-graphicscontext=1 --wxWidgets-build-opengl=1

Then the usual

perl Build
perl Build test
perl Build install

For MacOSX you are best just doing

perl Build.PL

and answering prompts. This will get you a 64 bit build and you'll need 
a 64 bit Perl ( wxWidgets 2.9.3 removes the need to force a 32 bit build 
of everything ).

You may then wish to build Wx from SVN as that has wxWebView wrapped 
along with a few other things.( wxRichToolTip, wxTimePickerCtrl, 
wxBannerWindow).

wxWebView is a full web rendering engine with backends in 2.9.3 for 
Linux, Windows and Mac. It will build out of the box on Windows and Mac. 
On Linux you need the package libwebkitgtk-dev which I'm afraid is only 
available on recent distros. (Ubuntu 11.04 and above, for example)

You'll need the Wx::Demo from SVN too then you can watch Gabor's YouTube 
tutorials with your Wx app.


Regards

Mark





















On 19/03/2012 08:36, Ahmad Zawawi wrote:
> Great work!
>
> Suppose I want to build an application to use only wxWidgets 2.9.3.
> How do I force Alien::wxWidgets to build it from source via
> dependencies?
>
> Regards,
> Ahmad


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