[Windows] Unable to build latest wireguard missing i686-w64-mingw32-windres

Manikandan Thiagarajan tmani at prosimo.io
Thu Jan 28 23:24:02 UTC 2021


Hi,

I am trying to update Wireguard to latest version on windows but could
not build because of missing dependencies i686-w64-mingw32-windres.
I can't go back to older commit such as 0.3.4 (a5102ca - version:
bump) because of go mod has reference to unknown revision
76ef01985b1c.
Please suggest how to fix either one of these issues. I can use either
of these commits.

Building off of commit 5f420f6 - manager: pipeline UAPI requests
'i686-w64-mingw32-windres' is not recognized as an internal or external command,
operable program or batch file.
[-] Failed with error #1.

Building off of commit a5102ca - version: bump
[+] Building library x86
get "golang.zx2c4.com/wireguard/windows": found meta tag
get.metaImport{Prefix:"golang.zx2c4.com/wireguard/windows", VCS:"git",
RepoRoot:"https://git.zx2c4.com/wireguard-windows"} at
//golang.zx2c4.com/wireguard/windows?go-get=1
go: golang.zx2c4.com/wireguard/windows at v0.0.0-20201130211600-76ef01985b1c:
invalid version: unknown revision 76ef01985b1c
[-] Failed with error #1.
[+] Rendering icons
[+] Assembling resources x86
[+] Building program x86
get "golang.zx2c4.com/wireguard/windows": found meta tag
get.metaImport{Prefix:"golang.zx2c4.com/wireguard/windows", VCS:"git",
RepoRoot:"https://git.zx2c4.com/wireguard-windows"} at
//golang.zx2c4.com/wireguard/windows?go-get=1
go: golang.zx2c4.com/wireguard/windows at v0.0.0-20201130211600-76ef01985b1c:
invalid version: unknown revision 76ef01985b1c
[-] Failed with error #1

Thanks,
Mani


More information about the WireGuard mailing list