HOW TO

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

Last Published: October 1, 2025

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.

Article ID: 000011055

Software:
  • ArcMap
  • ArcGIS Engine

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options