Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译报错 #16

Open
xxxlzj520 opened this issue Nov 13, 2023 · 1 comment
Open

编译报错 #16

xxxlzj520 opened this issue Nov 13, 2023 · 1 comment

Comments

@xxxlzj520
Copy link

GOOS=linux GOARCH=amd64 go build -o myapp-loong64 -ldflags "-s -w" main.go
编译报错误:
Stderr: go build github.com/webview/webview_go: build constraints exclude all Go files in

@SteffenL
Copy link
Contributor

Maybe you need to set CGO_ENABLED=1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants