webview_go icon indicating copy to clipboard operation
webview_go copied to clipboard

Build with vendored dependencies fails

Open ctarsjp opened this issue 7 months ago • 2 comments

Trying to build the example as go module with vendored dependencies. Build fails with the following error:

> go build
# github.com/webview/webview_go
vendor\github.com\webview\webview_go\webview.go:17:10: fatal error: 'webview.h' file not found
   17 | #include "webview.h"
      |          ^~~~~~~~~~~
1 error generated.

OS is Windows 11, but I don't think it's OS-dependent.

Go version is 1.22.5.

Copying libs directory to vendor/github.com/webview/webview_go solves the issue.

ctarsjp avatar Jul 22 '24 02:07 ctarsjp