1、安装choco
windows环境,用管理员权限打开 powershell 命令行界面。
输入命令:
Set-ExecutionPolicy AllSigned
输入命令:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
至此choco安装完成。
2、安装pkg-config
输入命令:
choco install pkgconfiglite