lagrange icon indicating copy to clipboard operation
lagrange copied to clipboard

TUI variant on macOS fails on launch: failed to load resources: No such file or directory

Open barracuda156 opened this issue 2 years ago • 1 comments

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.

barracuda156 avatar Jul 23 '23 14:07 barracuda156

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.

skyjake avatar Jul 30 '23 19:07 skyjake