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

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/[email protected]/libs/webview/include/webview.h:2076,
from webview.cc:1:
D:/goRely/goPath/pkg/mod/github.com/webview/[email protected]/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/

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