Skip to content

Add zstd library#44

Merged
janisozaur merged 2 commits into
OpenRCT2:masterfrom
LRFLEW:zstd
Aug 4, 2025
Merged

Add zstd library#44
janisozaur merged 2 commits into
OpenRCT2:masterfrom
LRFLEW:zstd

Conversation

@LRFLEW

@LRFLEW LRFLEW commented Jul 30, 2025

Copy link
Copy Markdown
Contributor

This is a PR to add the zstd dependency for OpenRCT2/OpenRCT2#24734. That PR will require making a new release with this library added to make this work.

While we need to make a new release anyways, I went ahead and updated the libraries that were already in here as well. I opted to update it to the 2025.07.25 release tag. It looks like vcpkg has a release cadence of roughly every 2-3 months, which seems like a fairly stable stable update speed, and it might be a good idea to try to update the dependencies every vcpkg update (or every other update).

With the update, I found I had to downgrade nlohmann-json to prevent build issues. This is because the 3.12.0 release had an issue related to std::u8string and standard library support (nlohmann/json#4733), which caused a number of build issues. It has been fixed in the latest git version, but a release hasn't been made with that change yet. For now, I opted to just pin the previous release until a new release of the library has been made. (see OpenRCT2/OpenRCT2#24226)

@janisozaur janisozaur merged commit 2de3cab into OpenRCT2:master Aug 4, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants