English

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

Summary

Instructions provided describe how to compile and build WxWidgets 2.8.7.

Procedure

  1. Find WX 2.8.7 at sourceforge.net.
  2. Download and install WxWidgets using wxMSW-2.8.7-Setup.exe.
  3. Browse to (Installation directory)\include\wx\msw and open 'setup.h' in a text editor.
  4. In setup.h change the value for wxUSE_ODBC to 1. By default this value is 0.
  5. Browse to (Installation directory)\build\msw and open the wx_dll.dsw project in Visual Studio.
  6. Change the build configuration to DLL Unicode Release.

    Screen shot of Visual Studio

    [O-Image]
  7. Change project language value.
    a. Right-click a project in Solution Explorer.
    b. Go to Properties > C/C++ > Language.
    c. Change value for Treat wchar_t as Built-in Type to 'No'.

    [O-Image]
  8. Repeat step 7 and change this parameter for all projects in Solution Explorer. This process can also be done by selecting all projects and changing all the properties at one time.
  9. Build the whole Wx_dll solution.