wxWidgets cannot build when USE_STC=0, but with wxUSE_STC set to 0 in setup.h, the same errors still happen...
Builds for me every time I do them both.
Edit: started Wiki Page
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.9.0_to_develop_Code::Blocks_(MSW)Edit: Inside which file are you changing wxUSE_STC?
Edit: My directions assumed you were an expert at building wxWidgets.
The easiest way for beginners to do it is
1. Delete the stuff under lib\gcc_dll
a. do a clean
b. delete all the rest
2. Edit include\wx\msw\setup.h (If it does not exist copy setup0.h to setup.h)
Change wxUSE_STC to zero
3. Do a normal build
mingw32-make -f makefile.gcc USE_STC=0 USE_PROPGRID=1 USE_OPENGL=0 USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 CPPFLAGS="-Wmissing-include-dirs"
I change step 2 to this when I do it because I build wxWidgets so many different ways is it easier to never change setup.h under include\wx\msw
NOTE: You should never need to change include\wx\msw\setup0.h
Correction the file setup0.h should not be edited; been too long since I did it the old way.
After deleting/Cleaning
2a. recreate the folders under lib\gcc_dll to hold the modified setup.h
2b. use SED.exe to change the values I need changed and save it in the correct folder under lib\gcc_dll
Tim S.