I'm following this C++ WebGPU tutorial (with associated Git repo here) in another language, and so must rewrite the build script accordingly.
The tutorial calls wgpu::glfw::CreateSurfaceForWindow which appears to be located in dawn/src/dawn/glfw/utils_emscripten.cpp. However, when I link this file, I get the error:
.../dawn/src/dawn/glfw/utils_emscripten.cpp:65:11: error: no type named 'EmscriptenSurfaceSourceCanvasHTMLSelector' in namespace 'wgpu'
wgpu::EmscriptenSurfaceSourceCanvasHTMLSelector* desc =
Where is wgpu::EmscriptenSurfaceSourceCanvasHTMLSelector located?