Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Externals headers reference incorrect path #3750

Open
Shoegzer opened this issue Oct 3, 2024 · 3 comments
Open

Externals headers reference incorrect path #3750

Shoegzer opened this issue Oct 3, 2024 · 3 comments
Assignees
Labels

Comments

@Shoegzer
Copy link

Shoegzer commented Oct 3, 2024

The following header files reference an incorrect path and need to be modified to prevent build errors:

externals/glslang/SPIRV/Logger.h
externals/glslang/SPIRV/GlslangToSpv.h

Modify the following line in each:

FROM: #include "glslang/Include/visibility.h"
TO: #include "../glslang/Include/visibility.h"

@arcady-lunarg arcady-lunarg self-assigned this Oct 3, 2024
@Shoegzer
Copy link
Author

Shoegzer commented Oct 7, 2024

Thanks for looking into this @arcady-lunarg. This is causing build problems with projects such as discussed here. I can open a PR for the fix if it helps.

@arcady-lunarg
Copy link
Contributor

The problem here is that the paths have to work both when the files are installed and when building glslang itself, changing the paths would break the installation use case, but we also want to support your use case here. I'm not sure why this hasn't come up with other downstream users of glslang such as Vulkan Validation Layers though.

@Shoegzer
Copy link
Author

Shoegzer commented Oct 8, 2024

Thank you for the explanation. What then can be done in this case? I'm guessing other projects have yet to raise the issue as it has only been a month or so since the change, it doesn't affect all use cases, and so it may have yet to be discovered and reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants