Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajuda para compilar #28

Open
jpricardao opened this issue Jun 7, 2024 · 1 comment
Open

Ajuda para compilar #28

jpricardao opened this issue Jun 7, 2024 · 1 comment

Comments

@jpricardao
Copy link

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
Copy link

Mikesco3 commented Jun 29, 2024

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

Instruções de Compilação

Instalar Chocolatey https://chocolatey.org/install

  • Coloque isto em um "powershell" elevado como administrador
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'))
  • Feche o powershell
  • Abra um "powershell" ou cmd elevado como administrador
choco install go
choco install mingw

Testar go / gcc

  • Feche o powershell
  • Abra um powershell ou cmd não elevado
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

  • Abra um powershell ou cmd não elevado

Versão GUI

build.bat

Versão CLI

build_cli.bat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants