-
Notifications
You must be signed in to change notification settings - Fork 66
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
Support dynamically linked glslang #58
Comments
Hey @faulesocke, I don't have the exact configuration as yours; so please feel free to send a pull request for it. |
@antiagainst Okay, I'm working on it. My system (void linux) looks like this:
It's especially confusing that What way would you consider "proper" to detect the state of the system? I would prefer detection for every single library and if it exists, link it. However, I don't want to mess with the detection code too much so that I don't break everyone elses setups. I will file a pull request shortly showing you the code with minimal changes that works on my system but I wouldn't consider that a proper solution. |
That is strange. libSPIRV-Tools-opt should also have a shared library. It seems something is not correctly configured in upstream. |
Can't find one, neither on Void nor on Arch. |
May I jump in here? I am running Archlinux and to me it looks like I have a similar but not the same problem. I get
I checked my
looks like expected https://www.archlinux.org/packages/extra/x86_64/spirv-tools/files/ To me it's strange that a small If you know of any workaround, I'd appreciate. Should I (we) wait until upstream is "fixed" and |
I know two workarounds: At least on Void Linux I fixed my issues by building a static version of |
Thanks @faulesocke Just for the record, here is my not-as-elegant fix:
as I couldn't get (*) Meaning I still got the same error as in my previous comment |
Try this ;)
|
Just wanted to mention that I'm also running into the same issue as @Abendstolz on Arch Linux. I haven't been able to get the aforementioned patch working just yet but I haven't had a lot of time to tinker. I'll revisit this tomorrow and report back. |
I've submitted 69adfd6, which should address this. Please try out and let me know (sorry I don't have a Linux box with the same configuration for this issue). If it's working I'll cut a release. Otherwise please reopen this issue. :) |
Thanks @antiagainst! Unfortunately, I'm still personally getting a build error when running
Strange as
I might dig into this a little later to see if I can work out what's going on! |
Ah, so you have a shared lib version of SPIRV-Tools-opt. The script right now only tries to find static version. |
@mitchmindtree: Okay, submitted ff876b1. Let me know whether it works for you right now. |
@antiagainst thanks so much, it works beautifully! ✨ Going from 5min source build to a 2sec compile time is a really great win :) |
@mitchmindtree: Glad to hear that! I'll cut a release then. :) |
This is kind of a delayed emergency release to address an issue where some Linux distributions (Arch, Void and perhaps others) are unable to build any projects depending on vulkano-shaders due to google/shaderc-rs#58. This is resolved in shaderc 0.6 and in turn will be resolved in vulkano 0.14 thanks to vulkano-rs#1226. See the CHANGELOG-VULKANO.md for more details on the release.
This is kind of a delayed emergency release to address an issue where some Linux distributions (Arch, Void and perhaps others) are unable to build any projects depending on vulkano-shaders due to google/shaderc-rs#58. This is resolved in shaderc 0.6 and in turn will be resolved in vulkano 0.14 thanks to vulkano-rs#1226. See the CHANGELOG-VULKANO.md for more details on the release.
This is kind of a delayed emergency release to address an issue where some Linux distributions (Arch, Void and perhaps others) are unable to build any projects depending on vulkano-shaders due to google/shaderc-rs#58. This is resolved in shaderc 0.6 and in turn will be resolved in vulkano 0.14 thanks to #1226. See the CHANGELOG-VULKANO.md for more details on the release.
This is kind of a late, emergency release to fix an issue where users of some Linux distros (Arch, Void, possibly others) cannot currently build conrod_vulkano due to a bug in the shaderc 0.5.1 build script. google/shaderc-rs#58.
This patch addresses an issue with shaderc-rs 0.5.1 failing to build on various Linux distros including Arch, Void and likely others. google/shaderc-rs#58
The build script currently assumes that libSPIRV from glslang is always available in a static version (
libSPIRV.a
). However, this is not true on my system, I only havelibSPIRV.so
and mylibshaderc_combined.a
relies on symbols from that.so
.Would it be possible to add a check for
libSPIRV.so
to the build-script so that the crate compiles correctly on my system?The text was updated successfully, but these errors were encountered: