- Install GTK 3 dev packages:
-
macOS:
$ brew install gtk+3 $ brew install gnome-icon-theme -
Debian / Ubuntu:
$ sudo apt install libgtk-3-dev build-essential -
Windows:
-
Install dev packages from
MSYS2shell:$ pacman -S --needed base-devel mingw-w64-x86_64-toolchain $ pacman -S mingw-w64-x86_64-gtk3 -
Edit environment variable:
- add
C:\msys64\mingw64\bintoPath. - add
C:\msys64\mingw64\libtoGTK_LIB_DIR.
- add
-
Add toolchain target, open a
PowerShell, and run:PS C:\> rustup target add x86_64-pc-windows-gnu -
Change toolchain target:
PS C:\> rustup default stable-x86_64-pc-windows-gnu -
Check default toolchain target:
PS C:\> rustup show ... stable-x86_64-pc-windows-gnu (default) stable-x86_64-pc-windows-msvc ...
-
-
- Clone this repo, and
cdto repo directory. - Run app:
$ cargo run
MIT License