在MSYS2安装Glade和Devhelp后如何启动?已遵循GTK官方步骤
Hey there! Since you've got Glade and Devhelp installed via MSYS2 following the official GTK setup steps, launching them is straightforward—here's how to do it:
Option 1: Launch from the MSYS2 Terminal
This is the quickest method, especially if you're already working in the MSYS2 environment:
- Open the MSYS2 shell you used for installation (most likely UCRT64 or MINGW64, depending on your setup).
- To start Glade: Type
gladeand press Enter. The UI should pop up right away. - To start Devhelp: Type
devhelpand press Enter. The documentation browser will launch immediately.
If you get a "command not found" error, double-check that you're using the correct shell environment—GTK packages are tied to specific MSYS2 subsystems, so switching to the one you installed with will fix this.
Option 2: Create Desktop Shortcuts (For Quick Access)
If you prefer not to open the terminal every time, you can make desktop shortcuts:
- Navigate to your MSYS2 installation folder, then go into the
bindirectory of your target subsystem (e.g.,C:\msys64\ucrt64\binfor UCRT64). - Locate
glade.exeanddevhelp.exein this folder. - Right-click each executable, select Send to > Desktop (create shortcut).
- Now you can double-click these shortcuts directly from your desktop to launch the programs.
A quick note: When using shortcuts, the programs will still rely on the MSYS2 environment to run, so don't delete or move your MSYS2 installation folder after setting this up.
内容的提问来源于stack exchange,提问作者Eds

