eliemichel / LearnWebGPU-Code

The accompanying code of the Learn WebGPU C++ programming guide
https://eliemichel.github.io/LearnWebGPU
MIT License
114 stars 30 forks source link

vscode report webgpu/bin/macos-arm64/libwgpu_native.dylib not found #50

Open relaxslow opened 2 months ago

relaxslow commented 2 months ago

I use wgpu-native, there is a folder named 'webgpu/bin/macos-aarch64' instead of 'webgpu/bin/macos-arm64'

but in the cmakelists ,the following command actually need libwgpu_native.dylib file in webgpu/bin/macos-arm64 folder target_link_libraries(cgame webgpu glfw) target_copy_webgpu_binaries(cgame)

I changed the folder webgpu/bin/macos-aarch64 to webgpu/bin/macos-arm64 , the issue is gone . but I thought this should not happened