安装wxFormBuilder
1. 网址:GitHub - wxFormBuilder/wxFormBuilder: A wxWidgets GUI Builder
2. 安装MSYS2
MSYS2可以在GitHub的内容中找到,这个版本是32位+64位的
3. 在程序中打开MINGW64 shell
4. 在MSYS2 MINGW64 shell中输入
pacman -Syu
pacman -S ${MINGW_PACKAGE_PREFIX}-toolchain ${MINGW_PACKAGE_PREFIX}-cmake ${MINGW_PACKAGE_PREFIX}-make base-devel git
pacman -S ${MINGW_PACKAGE_PREFIX}-wxWidgets3.2 ${MINGW_PACKAGE_PREFIX}-boost
5. 然后再输入:
git clone --recursive https://github.com/wxFormBuilder/wxFormBuilder
cd wxFormBuilder
cmake -S . -B _build -G "MSYS Makefiles" --install-prefix "$PWD/_install" -DCMAKE_BUILD_TYPE=Release
cmake --build _build --config Release -j `nproc`
cmake --install _build --config Release
6. 运行wxFormBuilder, 在MSYS2 MINGW64 shell中输入以下语句
_install/wxFormBuilder
安装的程序在下面的目录中:
将wxFormBuilder.exe发送到桌面即可。