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

documentation: missing bits about artoolkit5-setenv #176

Open
umlaeute opened this issue Mar 26, 2021 · 0 comments
Open

documentation: missing bits about artoolkit5-setenv #176

umlaeute opened this issue Mar 26, 2021 · 0 comments

Comments

@umlaeute
Copy link

the documentation (current README) says, to run this command:

cd ~/SDKs/ARToolKit5/
./share/artoolkit5-setenv

i think this information is incomplete: after running the script you cannot use ARToolKit right away:

$ echo ${ARTOOLKIT_ROOT}

$ mkdir -p /tmp/ARToolKit5/
$ tar -f ARToolKit5-bin-5.4.0-Linux-x86_64.tar -x -C /tmp/ARToolKit5/
$ cd /tmp/ARToolKit5/
$ ./share/artoolkit5-setenv
*** Successfully set ARTOOLKIT5_ROOT to /tmp/ARToolKit5 ***
$ echo ${ARTOOLKIT_ROOT}

$

instead you must open a new shell in order to "see" the newly set envvars.

you also might want to clarify in the documentation that running this script is a permanent change.
(I often unpack SDKs into /tmp while evaluating them; this folder will be cleared on reboot; however, after a reboot the ARTOOLKIT_ROOT envvar will still be set to the old (and now: bogus) value)

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