Skip to content
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

Tads3 MacOS (El Capitan or later) issue: compilation recompiles all header files every time + workaround #9

Open
toerob opened this issue Dec 28, 2020 · 0 comments

Comments

@toerob
Copy link
Contributor

toerob commented Dec 28, 2020

It seems that if the tads3 library files are installed in the default location of "/usr/local/share/frobtads" on Macos versions above el capitan, all header files used will be part of a recompilation even though the object files are already built and no changes has been made. (It somehow detects changes in these files everytime t3make runs.)

A workaround for this is to install the frobtads installation in the home folder of the user. Or if already installed, just make a copy the library to user folder and replace all references to them in the Makefile.t3m file.

I guess one could be proactive if installing locally with make for the first time by setting the env:
-DCMAKE_INSTALL_PREFIX=/Users/<username>
(instead of "/usr/local" or if there's a universal better folder for library files that won't behave as "/usr/local/" does)

The homebrew formula defaults to "/usr/local" folder though, maybe the user can be prompted of where the installation should be or the default change to the home folder or better. Not sure of what might be the best solution.

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

No branches or pull requests

1 participant