Skip to content
New issue

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

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

Already on GitHub? # to your account

Compilation prompts missing files #40

Open
jingguang0818 opened this issue Apr 1, 2024 · 1 comment
Open

Compilation prompts missing files #40

jingguang0818 opened this issue Apr 1, 2024 · 1 comment

Comments

@jingguang0818
Copy link

`
PS D:\gitee.com\go\go-webview> go build -ldflags="-H windowsgui"

github.com/webview/webview_go

In file included from D:/goRely/goPath/pkg/mod/github.com/webview/webview_go@v0.0.0-20240220051247-56f456ca3a43/libs/webview/include/webview.h:2076,
from webview.cc:1:
D:/goRely/goPath/pkg/mod/github.com/webview/webview_go@v0.0.0-20240220051247-56f456ca3a43/libs/mswebview2/include/WebView2.h:978:10: fatal error: EventToken.h: No such file or directory
#include "EventToken.h"
^~~~~~~~~~~~~~
compilation terminated.
PS D:\gitee.com\go\go-webview>
`

gcc version 8.1.0 (x86_64-posix-sjlj-rev0, Built by MinGW-W64 project)

@shuwenkai
Copy link

you need update mingw version.
I have encountered the same problem as you, this issue proposed a solution.
image

https://github.com/webview/webview/issues/1036

mingw download url:
https://www.mingw-w64.org/downloads/

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

No branches or pull requests

2 participants