静态链接时需要的wxWidgets库 (xx is wxWidgets version, such as 30):
- libwxmswxxu_core.a
- libwxbasexxu.a
- libwxpng.a
- libwxjpeg.a
- libwxtiff.a
- libwxzlib.a
静态链接需要额外链接Windows的库(在mingw\lib\目录下),如果还有未找到的windows符合,可以搜索MSDN查找它在哪个库里面:
- libole32.a
- libuuid.a
- libcomctl32.a
- liboleaut32.a
- libcomdlg32.a
- libwinspool.a
不然,会出现类似下面的错误:
undefined reference to `OleInitialize@4'
undefined reference to `
OleUninitialize@0'