Conversation
| self.requires("zstd/[^1.5]") | ||
| if self.options.tools: | ||
| self.requires("fmt/10.2.1", transitive_libs=False) | ||
| self.requires("fmt/[>=11 <12]") |
There was a problem hiding this comment.
vendored version uses fmt 11, set this as a version range to avoid conflicts where possible
|
I tested this, but it does not compile with g++14. That does seem to be a problem with how the ktx tools handle forwarding to {fmt}. My errors are this: I submitted an issue for this upstream: KhronosGroup/KTX-Software#1101 Other than that: The new CMake option I needed is not exposed to conan either, it's KTX_FEATURE_JS |
Could you try to re-build fmt on your end? You're probably picking up a binary built with C++ 17 as a compatibility fallback when using C++23 in your profile. You can do this by passing Edit: I've tested this locally, and rebuilding fmt for C++23 also errors out in a similar manner, but this time this is apple-clang 17 in macos: Seeing their response to your upstream issue and that they find it an unexpected error, this might have something to do with fmt coming from Conan instead of the vendorized version they ship? I'll investigate further and let you know what I find.
Note that the 4.4.2 version seems to be older than the PR that included this option (KhronosGroup/KTX-Software#1073) so there currently is no available version with this option published by upstream. Happy to open a new PR once this one gets merged and a new version is published with the changes to add it to the recipe! |
|
I tried it with |
|
For now, I think the best course of action would be to patch the bit in the tools setting the minimum language version via |
|
@ltjax I see your progress in KhronosGroup/KTX-Software#1102. Do you think we can wait until it gets merged and a new version released? Or should we include the current PR and validate out C++23 ubilds with tools enabled? |
|
I have no idea when that will be released, since progress seems to have stalled somewhat. I'd say this version here is good for now and can be used by adding |
Summary
Added: ktx/4.4.2
Motivation
#27392
Changes made by maintainers
Note that this does not mean that the old versions are no longer available,
it just means that we will no longer provide support for those old versions (but you can always require the old references as usual)
There are some dependencies that are still vendorized, but only 1 of them has visible symbols in the resulting package and exists in CCI, but as the vendorized version is not present, I decided to keep it as-is. The rest are either not available in CCI, or only used as part of the tools
Add a 👍 reaction to pull requests you find important to help the team prioritize, thanks!