I have problem build project as blazor webassembly.
I use NativeFileReference in ItemGroup to link libwebgpu.o. (https://learn.microsoft.com/zh-cn/aspnet/core/blazor/webassembly-native-dependencies?view=aspnetcore-7.0)
But when I build the project, it show lots of undefined symbol. One of these:
undefined symbol: emscripten_webgpu_get_device (referenced by top-level compiled C/C++ code)
If I add EmccExtraLDFlags>-s WARN_ON_UNDEFINED_SYMBOLS=0</EmccExtraLDFlags> to PropertyGroup.
It can build successful but run failed that web console show blazor.webassembly.js:1 missing function: emscripten_webgpu_get_device.
I don't know how to solve it.
I have problem build project as blazor webassembly.
I use
NativeFileReferencein ItemGroup to linklibwebgpu.o. (https://learn.microsoft.com/zh-cn/aspnet/core/blazor/webassembly-native-dependencies?view=aspnetcore-7.0)But when I build the project, it show lots of
undefined symbol. One of these:undefined symbol: emscripten_webgpu_get_device (referenced by top-level compiled C/C++ code)If I add
EmccExtraLDFlags>-s WARN_ON_UNDEFINED_SYMBOLS=0</EmccExtraLDFlags>toPropertyGroup.It can build successful but run failed that web console show
blazor.webassembly.js:1 missing function: emscripten_webgpu_get_device.I don't know how to solve it.