Jacajack / vscode-glsl-linter

GLSL linter for Code
5 stars 1 forks source link

How to set up linter on windows 10? #1

Closed lightbrush closed 5 years ago

lightbrush commented 5 years ago

Hi Jacek,

Thanks for your great work. This extension works well on OSX, yet I do not understand how to set it up on Windows 10 system.

I downloaded the glslang and tried to set the validator path but failed.

q7k 83 v58dkw 2 2 kbam

I guessed that I must did something wrong...

Jacajack commented 5 years ago

I suspect that this may be just a bad path issue. On Windows paths use backslashes as directory separators. I don't know what the file is called, but please also make sure you didn't forget the exe extension. With these changes your path should look more like that: C:\GLSL\build\install\bin\glslangValidator.exe

I should probably add some information for the user if the path is invalid in future versions.

lightbrush commented 5 years ago

Thanks Jacek, this problem was successfully solved~