Frogging-Family/mesa-git

ERROR: Program 'glslangValidator' not found or not executable

Closed this issue · 5 comments

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

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.

@FuzzyQuills
bash: glslangValidator: command not found

looking here
glslang doesn't provide glslangValidator

EDIT:
seems like an issue with glslang 12.3.1
KhronosGroup/glslang#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

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

Arch is now patched.