You should build wgpu-native and place libwgpu.so (from target/
) in this directory.
I can't figure out how to build it without referencing to my system
I built from the commit 1a4751006bd81926ffda6b5eed06ebb23ffdcea0
, date: Thu Apr 28 06:01:12 2022 +0200
holdengreen/wgpu-triangle-in-Dlang
I translated the triangle example (in C) from wgpu-native to D and it works. @adamdruppe helped me a lot to do this.
D