beego Windows安裝gcc  cannot find package "github.com/mattn/go-sqlite3" cc1.exe: sorry, unimplemented

1.Golang>>beego使用gorm數據庫包報錯cannot find package "github.com/mattn/go-sqlite3"

 go get github.com/mattn/go-sqlite3   安裝這個包 

2.Windows安裝gcc 

 http://www.mingw.org/

這裏的下載一直是失敗,改用我的熱點網絡纔不是下載失敗 

將近3個小時成功安裝 

3.cc1.exe: sorry, unimplemented: 64-bit mode not compiled in 

 https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.8.2/threads-posix/seh/

下載  

設置環境變量

OK了 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章