skyjake/lagrange Issue #610: TUI variant on macOS fails on launch: failed to load resources: No such file or directory

Repo Home
Issues

2023-07-23 14:43:01 barracuda156

I have reported earlier today that non-standard Unix-like MacOS build got issues finding `resources`: https://github.com/skyjake/lagrange/issues/609

Well, turned out those are unrelated to my fixes for GUI.

TUI variant fails identically, and it does not use any patches at all:

36-25% /opt/local/bin/clagrange
failed to load resources: No such file or directory

@skyjake Could you please take a look? Since the problem is the same, fixing it for TUI should fix it for every case.

Comments (1)

2023-07-30 19:05:55 skyjake

Deploying the TUI build has not yet been implemented. The way it handles paths is incorrect. It basically assumes that it is always built from source, and the resources.lgr file can be found in the current working directory (where you presumably launch `clagrange`) that is also the build directory.

Making the TUI build installable using the typical methods like "make install" is certainly something I plan to do, however in general it still needs more work to make the UI more user-friendly and to fix some remaining glitches and UI layout problems.