Skip to content

Windows development

Peter Kwan edited this page Jan 31, 2021 · 4 revisions

Install Codeblocks and wxWidgets.

Install CodeBlocks as per the setup guide. Use the installation with MINGW included. My versions at the time of writing are CodeBlocks 20.03 and wxWidgets 3.0.5.

Installing wxTED

Clone the source code and these things will need to be changed:

In Project->Project Build Options there are many things to be set.

Compiler settings -> Other compiler options wxTED: --pipe --mthreads

You may see wx-config --cflags but this is for Linux and can be ignored.

Compiler Settings->Search Directories wxTED:E:\dev\wxwidgets\wxWidgets-3.0.5\include Debug: E:\dev\wxwidgets\wxWidgets-3.0.5\lib\gcc_dll\mswu Release: E:\dev\wxwidgets\wxWidgets-3.0.5\lib\gcc_dll\mswu

Compiler Settings-> #defines set these options for wxTED (These should be on four lines. Haven't mastered GitHub yet) __GNUWIN32__ __WXMSW__ WXUSINGDLL wxUSE_UNICODE

Under Linker settings->Lin libraries enter libwxmsw30u.a. This should be the name of the dll in your wxwidgets lib->gcc_dll folder.

Clone this wiki locally