Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

服务端能跨平台么? #13

Open
91270 opened this issue Nov 30, 2020 · 4 comments
Open

服务端能跨平台么? #13

91270 opened this issue Nov 30, 2020 · 4 comments
Labels
question Further information is requested

Comments

@91270
Copy link

91270 commented Nov 30, 2020

在 WINDOWS 下运行

@kallydev kallydev added the question Further information is requested label Nov 30, 2020
@kallydev
Copy link
Owner

支持 Windows,另外还支持交叉编译。

@91270
Copy link
Author

91270 commented Dec 1, 2020

Microsoft Windows [版本 10.0.17763.1577]
(c) 2018 Microsoft Corporation。保留所有权利。

F:\privacy.git\trunk>cd server

F:\privacy.git\trunk\server>go build -o app main/main.go

github.com/mattn/go-sqlite3

exec: "gcc": executable file not found in %PATH%

F:\privacy.git\trunk\server>

@91270
Copy link
Author

91270 commented Dec 1, 2020

安装 MinGW-w64 解决

@bajins
Copy link

bajins commented Dec 1, 2020

Microsoft Windows [版本 10.0.17763.1577]
(c) 2018 Microsoft Corporation。保留所有权利。

F:\privacy.git\trunk>cd server

F:\privacy.git\trunk\server>go build -o app main/main.go

github.com/mattn/go-sqlite3

exec: "gcc": executable file not found in %PATH%

F:\privacy.git\trunk\server>

https://www.bajins.com/Go/WindowsGCC.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants