Hi,
If you download the Alien-wxWidgets tarball from cpan then you can do
perl Build.PL
Answer the questions:
Do you want to build wxWidgets [no] yes
wxWidgets version [2.8.12] 2.9.3
And it should work.
However ...
On Windows with Strawberry Perl 5.14.2 (and earlier) subsequent building
of Wx will fail. I think that this is connected to the handling of C++
exceptions and SJLJ code, although precisely why 2.8.12 works and 2.9.3
does not, I have not determined.
This failure is only present when linking to the C++ library using older
gcc builds from mingw-w64, such as provided with Strawberry 5.14.2. For
mingw generally, it is not a problem for gcc distributions that use
DWARF code rather than SJLJ (e.g. mingw.org 32 bit) nor is it a problem
for mingw-w64 distributions based on gcc 4.5.x, 4.6.x or 4.7.x
This is probably because in those later mingw-w64 versions libstdc++ is
distributed and generally linked as a shared dll whilst in the earlier
4.4.x gcc distributed with Strawberry, libstdc++ is generally linked
statically.
The fix:
Strawberry 5.16.0 includes a gcc 4.6.3 distribution that works with
wxWidgets 2.9.3.
Using ActiveState or building your own Perl - use the gcc dist from
perlmingw.sf.net, or an MSVC compiler.
Hope it helps.
Regards
Mark
On 28/06/2012 00:27, herbert breunung wrote:
thank you mark,
is there a way to fetch that version via Alien::Wx ?
best
herbert
PS: currently writing tutorial part 11 - im on the way to make more docs this
year
Am 27.06.2012 23:32, schrieb Mark Dootson:
Hi,
Wx::PropertyGrid is wxWidgets 2.9.3 and above.
Regards
Mark
On 27/06/2012 19:32, herbert breunung wrote:
thanks so much for all the help, finally i have again freshest Wx under win
and linux. but nonetheless I cant find that module anywhere in the installed
modules nor is it found by my scripts, even if i can see it in the distro
in svn and browsing metacpan raw.
What did I overlook?
thanks again
herbert