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 error #32

Closed
GoHippo opened this issue Mar 13, 2024 · 2 comments
Closed

compilation error #32

GoHippo opened this issue Mar 13, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@GoHippo
Copy link

GoHippo commented Mar 13, 2024

os: windows 10
go: 1.22

I used to compile normally. An error is being thrown now:

CGO_ENABLED=0:
github.com/webview/webview_goback build restrictions exclude all Go files in C:\Users\root\go\pkg\mod\git
hub.com\webview\[email protected]

CGO_ENABLED=1:
|# github.com/webview/webview_go
In the file included from C:/Users/root/go/pkg/mod/github.com/webview/[email protected]
f456ca3a43/libs/webview/include/webview.h:2076,
from webview.cc:1:
C:/Users/root/go/pkg/mod/github.com/webview/[email protected]/libs/mswebv
iew2/include/WebView 2.h:978:10: fatal error: The event token.h: There is no such file or directory
978 | #include "EventToken.h"
| ^~~~~~~~~~~~~~
compilation is complete.

@SteffenL
Copy link
Contributor

Issues related to EventToken.h have been answered before. You need a C++ toolchain that includes EventToken.h unless you provide the file by yourself.

https://github.com/webview/webview_go/issues?q=EventToken+is%3Aclosed

@SteffenL SteffenL closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2024
@SteffenL SteffenL added the duplicate This issue or pull request already exists label Mar 13, 2024
@GoHippo
Copy link
Author

GoHippo commented Mar 14, 2024

Thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants