eliemichel / WebGPU-distribution

Distributions of WebGPU for native and web development, easy to integrate and interchangeable.
MIT License
159 stars 29 forks source link

Add missing libraries on Windows. #27

Closed jpvanoosten closed 2 months ago

jpvanoosten commented 4 months ago

This fixes the unresolved linker symbols on Windows.

eliemichel commented 4 months ago

Thanks!

@rajveermalviya Do you think there is anything missing here? Is this documented somewhere in wgpu-native's repo?

rajveermalviya commented 4 months ago

Is this documented somewhere in wgpu-native's repo?

It's not, but wgpu-native examples lists them here: https://github.com/gfx-rs/wgpu-native/blob/9f863b6f872ca699d7e99b46eb6a716d2c171423/examples/triangle/CMakeLists.txt#L18

And the list proposed here seems correct, also more info here on why they're required: https://github.com/gfx-rs/wgpu-native/issues/368#issuecomment-1951260931