English

How To: Compile and build WxWidgets 2.8.7 to run ArcGIS Engine samples on Linux

Summary

Instructions provided describe how to compile and build WxWidgets 2.8.7.

Procedure

These instructions must be performed on a 32-bit Linux machine that meets the system requirements for ArcGIS Engine. The resulting binaries will be usable on both 32- and 64-bit machines.

  1. Find WX 2.8.7 at the Source Forge site.
  2. Download WxWidgets to a local directory using wxWidgets-2.8.7.tar.gz (or .bz2).
  3. Unpack the source code:

    Code:
    tar -zxvf /<path to sourcecode>/wxWidgets-2.8.7.tar.gz

  4. Change directory (cd) to the unpacked wxWidgets-2.8.7 source code.
  5. Configure the source code with the following command:

    Code:
    ./configure --prefix=<installation location> --enable-unicode --with-gtk

  6. Build wxWidgets using the command:

    Code:
    make all

  7. Install wxWidgets using the command:

    Code:
    make install


    Note:
    Make sure that <installation location>/bin is in the PATH so that wx-config may be executed from the project's makefiles.

Related Information