Skip to content

How to build

nptr edited this page May 24, 2018 · 7 revisions

Currently only a Visual Studio 2013 Solution is available. Also a bit of fiddling around with the project settings is necessary.

1. Download wxWidgets

Download the wxWidgets source from their homepage or clone their repository. I am using wxWidgets 3.0.2 currently.

2. Build wxWidgets statically (incl. the runtime)

  1. For each project, in their settings, set: Configuration > C/C++ > Runtime: Multithreaded(-Debug)
  2. Build a .lib (Configuration: Debug/Release)

3. Build the msstyleEditor

In the msstyleEditor project

  • adjust the include path (project settings under C/C++ > General)
    • #yourpath#\wxWidgets-3.0.2\include
    • #yourpath#\wxWidgets-3.0.2\include\msvc
  • adjust the lib paths (project settings under Linker > General)
    • #yourpath#\wxWidgets-3.0.2\lib\vc_x64_lib (for the 64bit wxWidgets build for example)

Notes

I further deactivated some wxWidgets features i didn't require under \wxWidgets-3.0.2\include\wx\msw\setup.h to reduce the library size by quite a bit! You can see the configuration here: setup.h. Note that i removed more than necessary. Removing assertions (via wxDEBUG_LEVEL), some HTML/XML stuff and support for TIFF etc. had the most impact, the effect of a lot ot the other options was minimal to none.