PS D:\study\projects\src\test> go install github.com/goware/modvendor@v0.5.0
PS D:\study\projects\src\test> go mod vendor
PS D:\study\projects\src\test> modvendor -copy="/*.c */.h /*.proto" -v
PS D:\study\projects\src\test> go run .\test.go
github.com/robotn/gohook
vendor\github.com\robotn\gohook\hook.go:22:10: fatal error: event/goEvent.h:
No such file or directory
22 | #include "event/goEvent.h"
| ^~~~~
compilation terminated.
...
Golang, GCC
is installed correctly before installing RobotGo.You MUST delete the content above including this line before posting, otherwise your issue will be invalid.
Description
PS D:\study\projects\src\test> go install github.com/goware/modvendor@v0.5.0 PS D:\study\projects\src\test> go mod vendor PS D:\study\projects\src\test> modvendor -copy="/*.c */.h /*.proto" -v PS D:\study\projects\src\test> go run .\test.go
github.com/robotn/gohook
vendor\github.com\robotn\gohook\hook.go:22:10: fatal error: event/goEvent.h: No such file or directory 22 | #include "event/goEvent.h" | ^
~~~~ compilation terminated. ...