“wxWidgets环境安装”的版本间的差异
来自个人维基
(以“ https://docs.wxwidgets.org/latest/plat_msw_install.html#msw_build_apps_other https://wiki.wxwidgets.org/CodeBlocks_Setup_Guide”为内容创建页面) |
|||
第1行: | 第1行: | ||
+ | |||
+ | =1 安装msys2= | ||
+ | https://www.msys2.org | ||
+ | |||
+ | =2 下载wxWidgets并编译= | ||
+ | https://docs.wxwidgets.org/latest/plat_msw_install.html#msw_build_mingw | ||
+ | |||
+ | =3 安装codeblocks= | ||
+ | |||
+ | ==(1) 设置编译器== | ||
+ | Toolchain excutables设置为mysys2的路径,如:E:\msys64\ucrt64 | ||
+ | ==(2) 添加wxWidgets lib库文件 == | ||
+ | 右键project->build options->Link libraries,添加第2步编译生成的lib,如:wxWidgets-3.2.5\build-debug\lib | ||
+ | |||
+ | |||
+ | 参考: | ||
https://docs.wxwidgets.org/latest/plat_msw_install.html#msw_build_apps_other | https://docs.wxwidgets.org/latest/plat_msw_install.html#msw_build_apps_other | ||
https://wiki.wxwidgets.org/CodeBlocks_Setup_Guide | https://wiki.wxwidgets.org/CodeBlocks_Setup_Guide |
2024年7月12日 (五) 22:09的版本
目录 |
1 安装msys2
https://www.msys2.org
2 下载wxWidgets并编译
https://docs.wxwidgets.org/latest/plat_msw_install.html#msw_build_mingw
3 安装codeblocks
(1) 设置编译器
Toolchain excutables设置为mysys2的路径,如:E:\msys64\ucrt64
(2) 添加wxWidgets lib库文件
右键project->build options->Link libraries,添加第2步编译生成的lib,如:wxWidgets-3.2.5\build-debug\lib
参考:
https://docs.wxwidgets.org/latest/plat_msw_install.html#msw_build_apps_other