Hi People,
I saw that wxWidgets 3.0.2 came out last week. Although I'm still don't
know how to do anything with windows, here is a quick hack if you are
using Mac or Linux.
I'll look into the windows side of things.
Regards,
Steve.
cd ~
find /usr | grep -i wx | grep -v -i python | grep -v -i soffice >
rm_wx.sh # collect all wx files except wxpython and office files
(you might want to check that there are not others that you use here)
sed -i -e 's/\/usr\//rm -rf \/usr\//g'
rm_wx.sh # Add remove recursive to each
line (rm -rf )
sh rm_wx.sh # Remove them !
cd ~
rm -rf Alien-wxWidgets
git clone https://github.com/SteveBz/Alien-wxWidgets
cd ~/Alien-wxWidgets
perl Build.PL \
--wxWidgets-build=1 \
--wxWidgets-graphicscontext \
--wxWidgets-build-opengl=1 \
--wxWidgets-version=3.0.2 \
--wxWidgets-source=tar.bz2 \
--wxWidgets-unicode=1 \
--wx-unicode='yes' \
--wxWidgets-build-opengl=1 \
--wxWidgets-extraflags="--enable-graphics_ctx \
--disable-compat26 \
--enable-mediactrl \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-regex=builtin \
--with-libtiff=builtin \
--with-zlib=builtin \
--with-expat=builtin \
--with-libxpm=builtin \
--with-gtk=2\
--with-gtkprint"
perl Build install
ldconfig
cd ..
cd ~
rm -rf ~/wxPerl
git clone https://github.com/SteveBz/wxPerl
cd ~/wxPerl
perl Makefile.PL
make
make install
cd ~
cpan -i Wx::GLCanvas
cpan -i Text::Patch
cpan -i Wx::PdfDocument
cpan -i Wx::Demo