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

Where is libwebgpu.o come from? #1

Open
Kation opened this issue Feb 10, 2023 · 2 comments
Open

Where is libwebgpu.o come from? #1

Kation opened this issue Feb 10, 2023 · 2 comments

Comments

@Kation
Copy link

Kation commented Feb 10, 2023

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.

@Kation Kation changed the title Where libwebgpu.o come from? Where is libwebgpu.o come from? Feb 10, 2023
@BradChase2011
Copy link

Were you able to get any further in trying to get WebGPU running on blazor? I can't seem to find the documentation I need to get the library on the client side to interop with. Thanks!

@Kation
Copy link
Author

Kation commented May 11, 2024

Were you able to get any further in trying to get WebGPU running on blazor? I can't seem to find the documentation I need to get the library on the client side to interop with. Thanks!

For the previous researching that only aot could use WebGPU.
I don't know what it is change now.

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

2 participants