Building/running on macOS #2052
Unanswered
donmetzler
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to the Go lang and trying to get the dnscrypt-proxy running on macOS.
I pull the repo and from terminal:
➜ dnscrypt-proxy go run -ldflags="-s -w" -mod vendor main.go
command-line-arguments
./main.go:25:9: undefined: Proxy
./main.go:26:9: undefined: ConfigFlags
./main.go:30:2: undefined: TimezoneSetup
./main.go:47:11: undefined: ConfigFlags
./main.go:82:14: undefined: NewProxy
./main.go:83:6: undefined: ServiceManagerStartNotify
./main.go:125:12: undefined: ConfigLoad
./main.go:128:12: undefined: PidFileCreate
./main.go:144:2: undefined: PidFileRemove
In the above I am not able to get the executable to run due to the undefined errors. These are the same errors I encounter when I try to run through Visual Studio Code or the GoLand IDEs
WORK=/var/folders/s9/08y_hsdd6rb6mbps81_7bpm80000gn/T/go-build4603166
exit status 255
In this case, the program ends with the exit status of 255.
The dnscrypt-proxy binary is able to run, but I am trying to debug, preferably with an IDE.
Does anyone have experience building this project on macOS that can help?
Thanks,
Don
Beta Was this translation helpful? Give feedback.
All reactions