WxWidgets

From HotDec

Jump to: navigation, search

wxWidgets (formerly wxWindows) is a commercial-grade open-source cross-platorm library for creating graphical user interfaces. It is completely Free, and uses the native widget set for rendering, maximizing speed and enhancing uniformity.


Contents

Windows with MinGW

  • open MSYS and change directory to wxWidgets
mkdir debug_build
cd debug_build
../configure --with-msw --enable-debug --enable-debug_gdb --disable-shared
make
cp wx-config /mingw/bin
cp -r include/wx /mingw/include/
cp lib/*.a /mingw/lib/

read <wxwidgets>/doc/msw/install.txt for more info


  • to test wxWidgets:
cd demos
make
./bombs/bombs.exe
./fracal/fractal.exe
./forty/forty.exe
./life/life.exe

Debian / Ubuntu

sudo apt-get libwxgtk2.6-dbg

Linux

  • Download the package from here
  • follow the instructions in README-GTK.txt (mostly, see below)
  • general steps (i'm tired):
mkdir dbg-build
cd dbg-build
./configure --with-gtk=2 --enable-debug --enable-debug_gdb --disable-shared
make
su
make install
ldconfig

References

Personal tools