nuxui
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Windows 安装

系统需要

To install and run NuxUI, your development environment must meet these minimum requirements:

  1. golang 1.8+

下载并安装 golang: golang installation instructions

只需要 golang 就可以编译例子 hello,命令如下:

go build .
  1. Cairo (可选的)

NuxUI 默认使用 GDI+ 来渲染界面,这意味着只需要 golang 就可以直接创建或运行 NuxUI 应用

NuxUI 也支持使用 cairo 来渲染界面. To use cairo graphic library, your development environment must meet these minimum requirements:

msys2 lastest version

Download and initialization msys2 by follow official website instructions

Install cairo dependens for golang.

# 32bit
pacman -S mingw-w64-i686-cairo mingw-w64-i686-pango mingw-w64-i686-libjpeg-turbo
# 64bit
pacman -S mingw-w64-x86_64-cairo mingw-w64-x86_64-pango mingw-w64-x86_64libjpeg-turbo

After everything prepared, build samples hello with -tags cairo command

go build -tags cairo .