Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails due to bgfx shaderc webgpu dependency #25

Open
PinkMushroom opened this issue Jun 1, 2020 · 0 comments
Open

build fails due to bgfx shaderc webgpu dependency #25

PinkMushroom opened this issue Jun 1, 2020 · 0 comments

Comments

@PinkMushroom
Copy link

btw, i don't need webgpu, so a work-around that simply skipped this would be great.

this is on a tree i cloned within last couple of days, and on linux (obviously).

strangely my bgfx installation built without any errors, so it's a bit odd that this dies.

==== Building shaderc (debug64) ====
Creating ../../linux64_gcc/obj/x64/Debug/shaderc
Creating ../../linux64_gcc/obj/x64/Debug/shaderc/bgfx/tools/shaderc
shaderc.cpp
shaderc_glsl.cpp
shaderc_hlsl.cpp
shaderc_metal.cpp
shaderc_pssl.cpp
shaderc_spirv.cpp
../../../../bgfx/tools/shaderc/shaderc_spirv.cpp:17:10: fatal error: webgpu/webgpu_cpp.h: No such file or directory
#include <webgpu/webgpu_cpp.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
shaderc.make:212: recipe for target '../../linux64_gcc/obj/x64/Debug/shaderc/bgfx/tools/shaderc/shaderc_spirv.o' failed
make[1]: *** [../../linux64_gcc/obj/x64/Debug/shaderc/bgfx/tools/shaderc/shaderc_spirv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:96: recipe for target 'shaderc' failed
make: *** [shaderc] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant