Open tari3x opened 4 years ago
GPU.h is in this repo: https://github.com/maierfelix/webgpu/blob/master/src/GPU.h so there must be an include paths issue.
What part of the build should be setting the include path? I tried export CPLUS_INCLUDE_PATH=src/, but that didn't change anything. I vaguely remember that make overrides that?
Sorry, I don't know anything about the build in this repo. Try looking at some of the build config files to see if there's a place the include path can be changed? Maybe it's hardcoded to use a path that's wrong on your system, or uses a backslash or something?
Making the change below helped with this one. I am now hitting a different error, reported separately.
--- a/generator/templates/binding-gyp.njk
+++ b/generator/templates/binding-gyp.njk
@@ -77,6 +77,7 @@
"<!@(node -p \"require('node-addon-api').include\")",
"<(dawn)/third_party/vulkan-headers/include",
"<(root)/lib/include",
+ "<(root)/src",
"<(dawn)/src/include",
"<(dawn)/out/Shared/gen/src/include",
"<(dawn)/third_party/shaderc/libshaderc/include",
Here's the full trace trying to build webgpu on linux, I suspect I might need to install some system package, but I'm not sure which.