Windows 10, TDM-GCC-32bit-10-3.
Starting with a fresh download of 3.1.7 ZIP...
I modified "C:\wxWidgets-3_1_7\build\msw\config.gcc" as follows:
# DRN - was: MONOLITHIC ?= 0
MONOLITHIC ?= 1
# DRN - was: RUNTIME_LIBS ?= dynamic
RUNTIME_LIBS ?= static
I built as follows:
Code: Select all
cd %wxwin%\build\msw
mingw32-make -f makefile.gcc BUILD=debug
cd %wxwin%\demos
mingw32-make -f makefile.gcc BUILD=debug
cd %wxwin%\samples
mingw32-make -f makefile.gcc BUILD=debug
Many samples built (and run) fine until secretstore which fails with the first error as follows:
Code: Select all
g++ -c -o gcc_mswud\secretstore_secretstore.o -g -O0 -mthreads -D__WXMSW__ -D_UNICODE -I.\..\..\lib\gcc_lib\mswud -I.\..\..\include -W -Wall -I. -DwxUSE_GUI=0 -Wno-ctor-dtor-privacy -MTgcc_mswud\secretstore_secretstore.o -MFgcc_mswud\secretstore_secretstore.o.d -MD -MP secretstore.cpp
secretstore.cpp:28:11: error: 'wxSecretStore' was not declared in this scope; did you mean 'wxSecretString'?
28 | bool Save(wxSecretStore& store, const wxString& service, const wxString& user)
| ^~~~~~~~~~~~~
| wxSecretString
Best Regards, Dave