How to add folders to the PATH environment variable?
How to add folders to the PATH environment variable?
I'm trying to install the ndless SDK using Cygwin. I've managed to complete all the instructions up to "Now add the following folders to your PATH environment variable." I've tried running the command (with the path to ndless substituted in) in the cygwin terminal, but I get a rather long error message.
All I've come up with is that it might be caused by a wrong carriage return character, but I'm new to bash and unix, so I don't have any idea how to fix this. I've tried running d2u .bashrc and d2u bash_profile, but I got a "command not found" error.
Can someone explain what I'm doing wrong and how to fix it?
All I've come up with is that it might be caused by a wrong carriage return character, but I'm new to bash and unix, so I don't have any idea how to fix this. I've tried running d2u .bashrc and d2u bash_profile, but I got a "command not found" error.
Can someone explain what I'm doing wrong and how to fix it?
-
nahkoots
Niveau 4: MC (Membre Confirmé)- Messages: 21
- Inscription: 23 Aoû 2014, 16:57
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: How to add folders to the PATH environment variable?
I have never tried to set up the Ndless SDK under Windows / Cygwin, but I think that you'd better expand the PATH through the usual location: Environment variables popup from the advanced settings tab in the System configuration of the Windows Control Panel.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Messages: 6859
- Inscription: 23 Déc 2009, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: -
- GitHub: debrouxl
Re: How to add folders to the PATH environment variable?
I added ";C:/Users/Nikos/Desktop/ndless/ndless-sdk/toolchain/install/bin:C:/Users/Nikos/Desktop/ndless/ndless-sdk/bin:${PATH}" (without quotes) to the end of the Path variable in the Windows Environment Variables list, but I'm not sure if it works. Is there a way I can check it before proceeding to the "make" step (that doesn't work either)?
-
nahkoots
Niveau 4: MC (Membre Confirmé)- Messages: 21
- Inscription: 23 Aoû 2014, 16:57
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: How to add folders to the PATH environment variable?
First of all, you need to remove that "${PATH}"
Then, restart your shell, and type "set" (without the quotes), then <return>.
Then, restart your shell, and type "set" (without the quotes), then <return>.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Messages: 6859
- Inscription: 23 Déc 2009, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: -
- GitHub: debrouxl
Re: How to add folders to the PATH environment variable?
Did both of those things. The "set" gave me a long output with no visible error message, so I assume it worked. I tried running the make command from /ndless/ and /ndless/ndless-sdk/ and got more errors.
Both the suggested commands "git submodule init" and "git submodule update" give a "fatal: not a git repository" error.
Both the suggested commands "git submodule init" and "git submodule update" give a "fatal: not a git repository" error.
-
nahkoots
Niveau 4: MC (Membre Confirmé)- Messages: 21
- Inscription: 23 Aoû 2014, 16:57
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: How to add folders to the PATH environment variable?
Did you do this in the folder, at first, as explained here: https://github.com/ndless-nspire/Ndless ... nd-the-sdk?
git clone --recursive https://github.com/ndless-nspire/Ndless.git
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14617
- Images: 1218
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: How to add folders to the PATH environment variable?
I just did that, and it completed successfully. I still run into the same error when I try to use the "make" command, though.
-
nahkoots
Niveau 4: MC (Membre Confirmé)- Messages: 21
- Inscription: 23 Aoû 2014, 16:57
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: How to add folders to the PATH environment variable?
And what if you try the 2 git submodule commands, given when you type 'make' in the 'ndless' folder?
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14617
- Images: 1218
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: How to add folders to the PATH environment variable?
Here's the error:
-
nahkoots
Niveau 4: MC (Membre Confirmé)- Messages: 21
- Inscription: 23 Aoû 2014, 16:57
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: How to add folders to the PATH environment variable?
As your folder is still called "ndless" and not "Ndless", how git would name it, I assume you're not in the local git clone.
-
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)- Messages: 217
- Inscription: 29 Mar 2014, 15:55
- Genre:
- Calculatrice(s):→ MyCalcs profile
11 messages
• Page 1 sur 2 • 1, 2
Retourner vers Native: Ndless, Linux, ...
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 30 invités