Closed delaneyj closed 6 years ago
Hi, it seems that dep omits some sources from the vendored dir, judging by the log lines.
Could you please verify that in this case:
vendor\github.com\vulkan-go\vulkan\cgo_helpers.go:10:27: fatal error: vulkan/vulkan.h: No such file or directory
compilation terminated.
You actually have vendor\github.com\vulkan-go\vulkan\vulkan\vulkan.h
in place?
Also, could be a path issue. At this point I'm not sure on which stage of the pipeline the problem is. But in both cases packages have an internal directory with C-only sources, so dep
could omit them. I don't have the env to test it by myself.
It looks like an issue https://github.com/golang/dep/issues/1223
that is surpassed by https://github.com/golang/dep/issues/944
Sorry, log weekend.
You actually have vendor\github.com\vulkan-go\vulkan\vulkan\vulkan.h in place?
No, but it is in C:\tools\mingw64\x86_64-w64-mingw32\include\GLFW
and gets picked up when building with a copy at $GOPATH/src/github.com/vulkan-go/vulkan
instead of in vendor
@delaneyj see the prune case. Godep removes C sources, it removed vulkan headers from your vendor/
Sorry forgot to close here, yeah not your fault just good for others to know. Curious how vgo would handle this.
Have a working example using
go get
,go run main.go
works fine.Use
dep init
to pull the same dependencies to the vendor folder.It appears there is bad path resolution happening.