bimg icon indicating copy to clipboard operation
bimg copied to clipboard

unable to run with delve on m1 mac

Open insaaniManav opened this issue 3 years ago • 0 comments

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.

insaaniManav avatar May 22 '22 11:05 insaaniManav