fand / veda

⚡VJ / Live Coding on Atom⚡
http://veda.gl/
MIT License
505 stars 34 forks source link

"Unable to locate glslangValidator at 'glslangValidator'" when I try to load shader #31

Closed entyo closed 6 years ago

entyo commented 6 years ago

I can use toggle feature :+1:

But, then, running load-shader / watch-shader to load another .frag, I got an error.

Unable to locate glslangValidator at 'glslangValidator'

screenshot from 2017-10-13 09-47-53

fand commented 6 years ago

Hm,,,seems that it fails to resolve the path of glslangValidator. Setting glslangValidator path manually will fix the error. ( e.g. /use/local/bin/glslangValidator)

entyo commented 6 years ago

@fand You are right! I fixed this by mv /home/entyo/VulkanSDK/1.0.61.1/x86_64/bin/glslangValidator /usr/local/bin :smile:

demicuz commented 6 years ago

I have the same issue. Setting the path to C:\VulkanSDK\1.0.65.1\Bin doesn't help. It has glslangValidator.exe in it, the folder also added to PATH. Am I doing something wrong?

UPD: C:\VulkanSDK\1.0.65.1\Bin\glslangValidator.exe worked.

tgsoon2002 commented 6 years ago

hi there, where can I find path on mac?

fand commented 6 years ago

@tgsoon2002 Homebrew installs glslangValidator in /usr/local/bin/glslangValidator. Otherwise you can find the path by running which glslangValidator

mbncr commented 5 years ago

Don't know if it has to do with more recent version of VulkanSDK, but the one in C:\VulkanSDK\1.1.92.1\Bin32\glslangValidator.exe was the one that worked for me.