Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>wx/setup.h is a file that is created during the compilation process; this file will be different for each different build type (Unicode, ANSI, Debug or Release, etc.). Most likely you compiled wxWidgets for one build type and are trying to compile the samples for a different build type.</p> <p>As for the include / linker paths I have found the settings below to the bare minimum required to use wxWidgets in your own projects on Windows:</p> <h2>Include Paths</h2> <ul> <li>$(WXWIN)\include</li> <li>$(WXWIN)\lib\vc_lib\mswud (u = Unicode and d=debug, this changes depending on what build type you want)</li> </ul> <h2>Pre-processor Definitions</h2> <ul> <li>WIN32</li> <li>_DEBUG (only if you want to build with debugging info)</li> <li>_WINDOWS</li> </ul> <h2>Character Set</h2> <ul> <li>"Use Unicode Character Set" (very important for Unicode builds; otherwise you will get compiler errors)</li> </ul> <h2>Additional Library Directories</h2> <ul> <li>$(WXWIN)\lib\vc_lib</li> </ul> <h2>Additional Dependencies</h2> <ul> <li>winmm.lib</li> <li>comctl32.lib</li> <li>rpcrt4.lib</li> <li>wsock32.lib</li> <li>odbc32.lib</li> <li>wxmsw28ud_core.lib</li> <li>wxbase28ud.lib</li> <li>wxexpatd.lib</li> <li>wxjpegd.lib</li> <li>wxpngd.lib</li> <li>wxregexud.lib</li> <li>wxtiffd.lib</li> <li>wxzlibd.lib</li> <li>wxmsw28ud_adv.lib</li> <li>wxmsw28ud_aui.lib</li> <li>wxmsw28ud_html.lib</li> </ul> <p>wxWidgets libraries are post-fixed with "u" for Unicode and "d" for debug, you need to choose the libraries that match the build type you want. $(WXWIN) is the directory where you built wxWidgets (wxPack will create this environment variable for you to use).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload