亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

為什么我在嘗試構建任何 Go 程序時會收到重新聲明的錯誤?

為什么我在嘗試構建任何 Go 程序時會收到重新聲明的錯誤?

Go
白衣染霜花 2023-08-14 17:01:44
我想學圍棋。我在 64 位 Windows 10 上安裝了 Go 1.13.5。我開始嘗試構建以下 hello world 程序:package helloimport ("fmt")func main() {    fmt.Printf("Hello world!")}但是,當我嘗試構建它或任何其他 Go 程序時,我收到錯誤c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block        previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block        previous declaration at c:\go\src\runtime\alg.go:321:40c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block        previous declaration at c:\go\src\runtime\alg.go:329:40有誰知道出了什么問題?
查看完整描述

1 回答

?
慕容708150

TA貢獻1831條經驗 獲得超4個贊

這似乎是 Go v1.13 的常見問題。您可以嘗試完全卸載并重新安裝。


查看完整回答
反對 回復 2023-08-14
  • 1 回答
  • 0 關注
  • 151 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號