Open deivse opened 6 months ago
Could you please include the code snippets thag are failing as well? Are the paths defined with a backslash? Try changing everything to use regular slashes and see if that fixes removes the errors.
Here's the header of the file, I assume everything below shouldn't be important. I'm also using the latest version available in the vscode extension (manually updated today with the download command)
#version 450 core
#include "../common/transform_uniform_block.glsl"
#include "../common/volume_uniform_block.glsl"
#include "../common/util_funcs.glsl"
out layout(location = 0) vec4 FragColor;
@deivse could you try compiling and testing https://github.com/nolanderc/glsl_analyzer/pull/65 to see if it fixes you issue. I don't have access to a windows machine at the moment unfortunately...
Hello, I won't have access to my windows machine for a couple more days, but I'll try to find some time to test once I get back. Thank you for reaching out.
When using vscode on windows, using
#include
results in BadPathName errors in the log. However, when I ctrl-click on one of the paths printed in the errors, vscode succesfully opens the file, so the paths seem to be valid. Interestingly, the susccessfully opened paths in the log all seem to use/
as the separator, and the errored paths have\\
in them.