内置MinGW12.2和wxWidgets3.14
settings->compiler的Toolchain executables的编译安装目录选项填C:\codeblocks-20.03\MinGW 在settings->Global Variables中新建取名wx,设base为C:\codeblocks-20.03\wxWidgets 设include为C:\codeblocks-20.03\wxWidgets\include
设lib为C:\codeblocks-20.03\wxWidgets\lib 在settings->compiler->Linker settings->Link libraries中点击add,选中C:\codeblocks-20.03\wxWidgets\lib\gcc_dll目录里所有文件,在Search directories->Compiler中添加$(#wx.INCLUDE)和$(#wx.LIB)\gcc_dll\mswu这两项,确定。系统环境变量Path添加C:\codeblocks-20.03\wxWidgets\lib\gcc_dll
1