[ 87%] Building CXX object CMakeFiles/wgpu_native.dir/lib/wgpu_native/wgpu_native.cpp.o
/home/kai/git/webgpu-native-examples/lib/wgpu_native/wgpu_native.cpp: In function ‘WGPUAdapterImpl* WGPUImpl::RequestAdapter(WGPURequestAdapterOptions*)’:
/home/kai/git/webgpu-native-examples/lib/wgpu_native/wgpu_native.cpp:122:40: error: ‘class dawn::native::Instance’ has no member named ‘EnumerateAdapters’
122 | = gpuContext.dawn_native.instance->EnumerateAdapters();
| ^~~~~~~~~~~~~~~~~
/home/kai/git/webgpu-native-examples/lib/wgpu_native/wgpu_native.cpp: In function ‘void WGPUImpl::LogAvailableAdapters()’:
/home/kai/git/webgpu-native-examples/lib/wgpu_native/wgpu_native.cpp:149:52: error: ‘class dawn::native::Instance’ has no member named ‘EnumerateAdapters’
149 | for (auto&& a : gpuContext.dawn_native.instance->EnumerateAdapters()) {
| ^~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/wgpu_native.dir/build.make:76: CMakeFiles/wgpu_native.dir/lib/wgpu_native/wgpu_native.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1463: CMakeFiles/wgpu_native.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Any hints would be appreciated a lot!
Lots of love,
Kai
Hey friend,
trying to learn from your code.
Tried to build and encountered this error:
Any hints would be appreciated a lot! Lots of love, Kai