Closed erikt closed 1 year ago
That's weird. Never saw the build process hanging and I can't find anything wrong with the logs. Can you try to compile the development
branch instead?
Same result.
Trying to debug the issue, I ran what seems like the command where it hangs:
↳ /opt/homebrew/bin/glslangValidator -V -S vert ../shaders/spectrogram/signal.vert.glsl -o shaders/spectrogram_signal.vert.spv
../shaders/spectrogram/signal.vert.glsl
and
↳ /opt/homebrew/bin/glslangValidator -V -S frag ../shaders/spectrogram/signal.frag.glsl -o shaders/spectrogram_signal.frag.spv
../shaders/spectrogram/signal.frag.glsl
Seems to work.
Are any WGSL files being generated at build/shaders/
? Maybe naga
is hanging.
↳ tree shaders
shaders
├── constellation
├── constellation_shaders.hh
├── constellation_signal.frag.msl
├── constellation_signal.frag.spv
├── constellation_signal.vert.msl
├── constellation_signal.vert.spv
├── lineplot
├── lineplot_grid.frag.msl
├── lineplot_grid.frag.spv
├── lineplot_grid.vert.msl
├── lineplot_grid.vert.spv
├── lineplot_shaders.hh
├── lineplot_signal.frag.msl
├── lineplot_signal.frag.spv
├── lineplot_signal.vert.msl
├── lineplot_signal.vert.spv
├── spectrogram
├── spectrogram_signal.frag.msl
├── spectrogram_signal.frag.spv
├── spectrogram_signal.vert.msl
├── spectrogram_signal.vert.spv
└── waterfall
5 directories, 18 files
What's naga
?
Naga is a shader translation tool for WebGPU. Looks like this is your problem. Try uninstalling it with Brew (brew uninstall naga-cli
) and running the compilation again.
I'm not sure if I understand the root cause but this should solve your problems.
Ah. I actually think the problem was that naga-cli
was not installed. I installed it with brew and the build works. Thanks for the help.
For completeness, this bug was fixed in 4b9350d217e1834838aa20aa8a70ef50b86d3530.
I am unable to get CyberEther to build on macOS. The documentation is sparse, but following the
INSTALL.md
results in build seemingly stalled with this output:macOS:
clang:
Xcode:
Hardware:
meson output: