221b icon indicating copy to clipboard operation
221b copied to clipboard

Compilation Error

Open PrimeS3c opened this issue 2 years ago • 1 comments

I am getting this error below. Kindly help with the approach to get it fixed.

`/home/iprimes3c/go/pkg/mod/golang.org/x/[email protected]/windows/zsyscall_windows.go:4352:30: error: too many arguments 4352 | r1, _, e1 := syscall.Syscall(procWTSQueryUserToken.Addr(), 2, uintptr(session), uintptr(unsafe.Pointer(token)), 0) | ^ [!] failed to compile [!] exit status 2

`

PrimeS3c avatar Sep 12 '23 01:09 PrimeS3c

Hi!

I think you are not compiling with the correct flags, did you try to set GOARCH and GOOS to windows architecture?

TomChv avatar Nov 19 '23 20:11 TomChv