bimg
bimg copied to clipboard
unable to run with delve on m1 mac
I am running go version 1.18.2 on an m1 mac.
When i try to run go run main.go it runs beautifully without any errors
but when I try to run ~/go/bin/dlv debug main.go I get an error saying
go build github.com/h2non/bimg: invalid flag in pkg-config --cflags: -Xpreprocessor
I have tried running
export CGO_CFLAGS_ALLOW=“-Xpreprocessor” && ~/go/bin/dlv debug main.go but to no avail.
Any help would be appreciated.