-
Notifications
You must be signed in to change notification settings - Fork 174
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
Build breaks with ftxui-5.0.0 #1186
Comments
FTXUI had a breaking API change with the 5.0.0 release. We need to adapt the eCAL code to support 5.0.0 releases of FTXUI. |
@ArthurSonzogni do you think you can provide some insights on how to make the eCAL code compile with both FTXUI 3.0.0 and FTXUI 5.0.0.
but now we have
which is used here In general I am not sure how to migrate this code to 5.0.0. |
FTXUI adheres to semantic versioning. Increasing the major number means a breaking change is introduced. The CHANGELOG documents them. In particular, you are looking for:
About reporting the FTXUI version, you can use: find_package(ftxui REQUIRED)
add_definitions(-DFTXUI_VERSION_MAJOR ${ftxui_VERSION_MAJOR}) #if FTXUI_VERSION_MAJOR == 5
[...]
#endif However, I recommand depending on a specific version of FTXUI. You can use git submodule, cmake FetchContent, or C++ package managers. See FTXUI documentation. |
Please don't use FetchContent. It downloads files which isn't allowed from package builders. Please consider fixing FTXUI version compatibility rather than just sticking to older versions which will have to be changed later anyways. |
* Make version info of ftxui available to build.
* Make version info of ftxui available to build.
* Make version info of ftxui available to build.
Problem Description
How to reproduce
Regular build
How did you get eCAL?
Custom Build / Built from source
Environment
FreeBSD 13.2
eCAL System Information
No response
The text was updated successfully, but these errors were encountered: