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

Reply via email to