Frogging-Family / mesa-git

Other
46 stars 22 forks source link

ERROR: Program 'glslangValidator' not found or not executable #34

Closed nutta-git closed 1 year ago

nutta-git commented 1 year ago

Hi,

I have glslang installed, but mesa-git fails to compile.

Program glslangValidator found: NO

mesa/meson.build:556:17: ERROR: Program 'glslangValidator' not found or not executable

A full log can be found at /home/user/src/mesa-git/src/_build64/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
  -> Cleanup done

meson-log.txt

FuzzyQuils commented 1 year ago

Hi,

I have glslang installed, but mesa-git fails to compile.

Program glslangValidator found: NO

mesa/meson.build:556:17: ERROR: Program 'glslangValidator' not found or not executable

A full log can be found at /home/user/src/mesa-git/src/_build64/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
  -> Cleanup done

meson-log.txt

have you made sure it's in PATH?

See if your terminal properly runs glslangValidator first.

nutta-git commented 1 year ago

@FuzzyQuills bash: glslangValidator: command not found

nutta-git commented 1 year ago

looking here glslang doesn't provide glslangValidator

EDIT: seems like an issue with glslang 12.3.1 https://github.com/KhronosGroup/glslang/issues/3281 https://bugs.archlinux.org/task/79212?project=1&string=glslang

Fix: I found an old package, if anyone wants to use: https://mirror.ette.biz/archlinux/extra/os/x86_64/glslang-12.2.0-1-x86_64.pkg.tar.zst

# pacman -U glslang-12.2.0-1-x86_64.pkg.tar.zst

Tk-Glitch commented 1 year ago

Creating a symlink also works as mentioned in the archlinux ticket. ln -s /usr/bin/glslang /usr/bin/glslangValidator

nutta-git commented 1 year ago

Arch is now patched.