Closed ZeroIntensity closed 1 month ago
After a lot of debugging, it seems the fix is to add -mcmodel=large
to your compiler flags. In short, that messes with some 32-bit to 64-bit integration (at least, that's my understanding of it). I'm not sure why FTXUI needs this for this case.
Cool stuff! I don't know much about python, outside of minors usages from time to time. So, I might not be useful.
Please don't hesitate to share your projects. We woudl be curious to know how FTXUI is being used.
FTXUI is very cool! Generally, the main choice for a TUI, especially in Python, is Textual, but I chose FTXUI for performance, and to get around the GIL (global interpreter lock -- Python multithreading shenanigans, pretty much).
Namely, I'm using FTXUI to power a logging library (which is still private), which will then be used under the hood in a web framework.
I've been trying to integrate FTXUI into Python, through scikit-build-core.
CMakeLists.txt
looks like this:At the end of building, the linker fails with this error:
(I'm new-ish to CMake - if I made some obvious mistake please let me know. I haven't run into this issue with any other library before, so there's likely some incompatibility with FTXUI)