When I went to build Dawn using mingw-w64, I was met with this error:
[91/252] Building CXX object _deps/dawn-build/src/dawn/native/CMakeFiles/dawn_native_objects.dir/Instance.cpp.obj
FAILED: [code=1] _deps/dawn-build/src/dawn/native/CMakeFiles/dawn_native_objects.dir/Instance.cpp.obj
C:\PROGRA~1\mingw64\bin\CLANG_~1.EXE -DDAWN_ENABLE_ASSERTS -DDAWN_ENABLE_BACKEND_D3D11 -DDAWN_ENABLE_BACKEND_D3D12 -DDAWN_ENABLE_BACKEND_NULL -DDAWN_ENABLE_BACKEND_VULKAN -DNOMINMAX -DTINT_BUILD_GLSL_VALIDATOR=0 -DTINT_BUILD_GLSL_WRITER=0 -DTINT_BUILD_HLSL_WRITER=0 -DTINT_BUILD_IR_BINARY=0 -DTINT_BUILD_IS_LINUX=0 -DTINT_BUILD_IS_MAC=0 -DTINT_BUILD_IS_WIN=1 -DTINT_BUILD_MSL_WRITER=0 -DTINT_BUILD_SPV_READER=0 -DTINT_BUILD_SPV_WRITER=1 -DTINT_BUILD_TINTD=0 -DTINT_BUILD_WGSL_READER=1 -DTINT_BUILD_WGSL_WRITER=1 -DTINT_ENABLE_IR_VALIDATION=1 -DWIN32_LEAN_AND_MEAN -isystem C:/Code/probe/build/_deps/dawn-src/include -isystem C:/Code/probe/build/_deps/dawn-build/gen/include -isystem C:/Code/probe/build/_deps/dawn-src/src/dawn/partition_alloc -isystem C:/Code/probe/build/_deps/dawn-src/third_party/vulkan-headers/src/include -isystem C:/Code/probe/build/_deps/dawn-src/third_party/vulkan-utility-libraries/src/include -isystem C:/Code/probe/build/_deps/dawn-src/third_party/abseil-cpp -isystem C:/Code/probe/build/_deps/dawn-src -isystem C:/Code/probe/build/_deps/dawn-src/src -isystem C:/Code/probe/build/_deps/dawn-build/gen/src -fPIC -g -fno-rtti -std=c++20 -Wno-c++20-compat -fno-exceptions -fno-rtti -Wno-assume -Wno-deprecated-builtins -Wno-unknown-warning-option -Wno-switch-default -Wno-nrvo -Wno-gcc-compat -Wno-unreachable-code-break -Wno-nullability-extension -Wno-shadow -MD -MT _deps/dawn-build/src/dawn/native/CMakeFiles/dawn_native_objects.dir/Instance.cpp.obj -MF _deps\dawn-build\src\dawn\native\CMakeFiles\dawn_native_objects.dir\Instance.cpp.obj.d -o _deps/dawn-build/src/dawn/native/CMakeFiles/dawn_native_objects.dir/Instance.cpp.obj -c C:/Code/probe/build/_deps/dawn-src/src/dawn/native/Instance.cpp
In file included from C:/Code/probe/build/_deps/dawn-src/src/dawn/native/Instance.cpp:57:
In file included from C:/Code/probe/build/_deps/dawn-src/src/dawn/native/d3d/BackendD3D.h:39:
In file included from C:/Code/probe/build/_deps/dawn-src/src/dawn/native/d3d12/d3d12_platform.h:31:
C:/Code/probe/build/_deps/dawn-src/src/dawn/native/d3d/d3d_platform.h:44:10: fatal error: 'DXProgrammableCapture.h' file not found
44 | #include <DXProgrammableCapture.h> // NOLINT(build/include_order)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
I assume mingw-w64 syncs headers from here, but I am not 100% certain.
In any case, I can't find DXProgrammableCapture.h anywhere in this repo.
Can it be added? Or is it omitted on purpose?
Some clarification would be nice.
When I went to build Dawn using mingw-w64, I was met with this error:
I assume mingw-w64 syncs headers from here, but I am not 100% certain.
In any case, I can't find DXProgrammableCapture.h anywhere in this repo.
Can it be added? Or is it omitted on purpose?
Some clarification would be nice.