tizbac / proxmoxbackupclient_go

In development proxmox backup client written in golang, aimed at windows compatibility
GNU General Public License v3.0
186 stars 14 forks source link

Ajuda para compilar #28

Open jpricardao opened 4 months ago

jpricardao commented 4 months ago

Alguém pode me informar o passo a passo para compilar este projeto?

Sou totalmente leigo e não tenho ideia por onde começar.

Obrigado

Mikesco3 commented 3 months ago

fonte original: https://github.com/tizbac/proxmoxbackupclient_go/blob/master/BUILD.md

Instruções de Compilação

Instalar Chocolatey https://chocolatey.org/install

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 install go
choco install mingw

Testar go / gcc

C:\>go version
go version go1.22.2 windows/amd64

C:\>gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-Builds project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compilar

Versão GUI

build.bat

Versão CLI

build_cli.bat