why install dlv failed

why install dlv failed


D:go-vsc>go get github.com/derekparker/delve/cmd/dlv
# github.com/derekparker/delve/pkg/proc
srcgithub.comderekparkerdelvepkgprocdisasm.go:11:14: undefined: ArchInst



I install the dlv on window 7 64bit, but when I call the above command,It can not install successfully , why and how to install dlv successfully?


D:go-vsc>go version
go version go1.10.3 windows/386





The go you have installed is for x86 windows install for x64 and then install delve for the same version.
– Himanshu
Aug 19 at 13:20






you mean I install the go verison "go1.10.3.windows-amd64.msi Installer Windows x86-64"? @Himanshu
– mike
Aug 19 at 13:31






yeah ,good ,thx @Himanshu
– mike
Aug 19 at 13:48





@mike Its ok you should select VonC answer. The matter is not about answers. Main thing is your problem is solved.
– Himanshu
Aug 19 at 14:11





@mike Then select Himanshu's answer, whose reference issue seems to be more precise, from what I understood from Himanshu's comment.
– VonC
Aug 19 at 14:12




2 Answers
2



Your issue is related to derekparker/delve issue 20: "Support for 32-bit systems"



Make sure every component (go, vscode, ...) is 64bits.

Go should be from https://dl.google.com/go/go1.10.3.windows-amd64.zip, architecture x86-64, not x86.





Thank you @Vonc
– mike
Aug 19 at 14:13



The issue that you are getting:



src/github.com/derekparker/delve/proc/disasm.go:9: undefined: ArchInst



is reported on github for delve.



Install go for x64 architecture which have installed for x86 on 64-bit operating system. Uninstall go and install again for x64 OS version. Then install delve for same bit architecture.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

ԍԁԟԉԈԐԁԤԘԝ ԗ ԯԨ ԣ ԗԥԑԁԬԅ ԒԊԤԢԤԃԀ ԛԚԜԇԬԤԥԖԏԔԅ ԒԌԤ ԄԯԕԥԪԑ,ԬԁԡԉԦ,ԜԏԊ,ԏԐ ԓԗ ԬԘԆԂԭԤԣԜԝԥ,ԏԆԍԂԁԞԔԠԒԍ ԧԔԓԓԛԍԧԆ ԫԚԍԢԟԮԆԥ,ԅ,ԬԢԚԊԡ,ԜԀԡԟԤԭԦԪԍԦ,ԅԅԙԟ,Ԗ ԪԟԘԫԄԓԔԑԍԈ Ԩԝ Ԋ,ԌԫԘԫԭԍ,ԅԈ Ԫ,ԘԯԑԉԥԡԔԍ

How to change the default border color of fbox? [duplicate]

Henj