floooh / sokol-samples

Sample code for https://github.com/floooh/sokol
MIT License
624 stars 79 forks source link

wgpu_webpage build on Linux #68

Open frink opened 4 years ago

frink commented 4 years ago

I'm playing around with your wgpu build on Linux. It's asking for vscode...

./fips set config webgl2-emsc-make-release
./fips wgpu_webpage build
=== dependency: 'sokol-tools-bin':
dir '/home/frink/sokol-tools-bin' exists
=== dependency: 'fips-glfw':
dir '/home/frink/fips-glfw' exists
=== dependency: 'fips-libmodplug':
dir '/home/frink/fips-libmodplug' exists
=== dependency: 'fips-utils':
dir '/home/frink/fips-utils' exists
=== dependency: 'fips-cimgui':
dir '/home/frink/fips-cimgui' exists
=== dependency: 'sokol':
dir '/home/frink/sokol' exists
=== dependency: 'fips-imgui':
dir '/home/frink/fips-imgui' exists
=== dependency: 'fips-dawn':
dir '/home/frink/fips-dawn' exists
[ERROR] build tool(s) vscode not found
[ERROR] 'sapp-wgpu-wasm-vscode-release' is not a valid config
[ERROR] 1 out of 1 configs failed!

We need vscode to build from the command line? What does an IDE have to do with it? Confused...

floooh commented 4 years ago

This is only because WGPU is WIP and experimental (what's missing are sapp-wgpu-wasm-ninja-debug and -release configs).

Don't bother with this yet, it doesn't work anyway because the WebGPU API has changed a lot in the meantime and I didn't fix the WGPU backend code yet.

frink commented 4 years ago

Okay... Thanks for letting me know.