C:\wxWidgets\wxWidgets-3.1.5\lib\gcc_lib\libwxmsw31u_core.a(corelib_window.o):window.cpp|| undefined reference to `__imp_GetThemeBackgroundContentRect'
I'm pretty sure I have made a mess of the project settings. Here are my build options for the search directories, how should I clean these up? Or would the problem be in the compiler settings or linker settings?
Search directories (compiler):
- $(#wx.include)
- $(#wx.lib)\gcc_lib\mswud
- include
- $(wx.include)\wx\msw
- resources
- $(#wx.lib)\gcc_lib
- $(#wx.lib)\gcc_dll
mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 BUILD=debug clean
mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 BUILD=debug
And here what shows up in the build log before the failure occurs:
g++.exe -Lresources -LC:\wxWidgets\wxWidgets-3.1.5\lib\gcc_lib -LC:\wxWidgets\wxWidgets-3.1.5\lib\gcc_dll -o bin\Release\CShp.exe obj\Release\src\frmMain.o obj\Release\resource.res -s -mthreads -lwxmsw31u_core -lwxbase31u -lwxpng -lwxzlib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -lshlwapi -lversion -loleacc C:\wxWidgets\wxWidgets-3.1.5\lib\gcc_lib\libwxjpeg.a C:\wxWidgets\wxWidgets-3.1.5\lib\gcc_lib\libwxtiff.a -mwindows