webview / webview_go

Go language bindings for the webview library.
MIT License
176 stars 27 forks source link

#include "EventToken.h" error #21

Closed 2622594863 closed 6 months ago

2622594863 commented 6 months ago

github.com/webview/webview_go

In file included from C:/Users/26225/go/pkg/mod/github.com/webview/webview_go@v0.0.0-20230901181450-5a14030a9070/libs/webview/include/webview.h:1132, from webview.cc:1: C:/Users/26225/go/pkg/mod/github.com/webview/webview_go@v0.0.0-20230901181450-5a14030a9070/libs/mswebview2/include/WebView2.h:978:10: fatal error: EventToken.h: No such file or directory

include "EventToken.h"

      ^~~~~~~~~~~~~~

compilation terminated.

go version go1.20.11 windows/amd64 What should I do

SteffenL commented 6 months ago

I responded to this in your issue #20 so I'll mark this as another duplicate of #8.

2622594863 commented 6 months ago

I responded to this in your issue #20 so I'll mark this as another duplicate of #8.

Thank you, I succeeded, the reason is that my gcc version is 8.1, I updated to 13 is OK, thank you for your reply