π
<-
Chat plein-écran
[^]

How to add folders to the PATH environment variable?

C, C++, ASM...

How to add folders to the PATH environment variable?

Message non lude nahkoots » 24 Avr 2016, 15:18

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.

cygwin error.png


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?
Avatar de l’utilisateur
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 12%
 
Messages: 21
Inscription: 23 Aoû 2014, 16:57
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: How to add folders to the PATH environment variable?

Message non lude Lionel Debroux » 24 Avr 2016, 15:36

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.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: How to add folders to the PATH environment variable?

Message non lude nahkoots » 24 Avr 2016, 16:48

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)?
Avatar de l’utilisateur
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 12%
 
Messages: 21
Inscription: 23 Aoû 2014, 16:57
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: How to add folders to the PATH environment variable?

Message non lude Lionel Debroux » 24 Avr 2016, 16:50

First of all, you need to remove that "${PATH}" :)
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.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: How to add folders to the PATH environment variable?

Message non lude nahkoots » 24 Avr 2016, 17:19

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.

cygwin error2.png


Both the suggested commands "git submodule init" and "git submodule update" give a "fatal: not a git repository" error.
Avatar de l’utilisateur
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 12%
 
Messages: 21
Inscription: 23 Aoû 2014, 16:57
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: How to add folders to the PATH environment variable?

Message non lude Adriweb » 24 Avr 2016, 19:26

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
Image

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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.3%
 
Messages: 14617
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: How to add folders to the PATH environment variable?

Message non lude nahkoots » 24 Avr 2016, 19:49

I just did that, and it completed successfully. I still run into the same error when I try to use the "make" command, though.
Avatar de l’utilisateur
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 12%
 
Messages: 21
Inscription: 23 Aoû 2014, 16:57
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: How to add folders to the PATH environment variable?

Message non lude Adriweb » 24 Avr 2016, 19:52

And what if you try the 2 git submodule commands, given when you type 'make' in the 'ndless' folder?
Image

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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.3%
 
Messages: 14617
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: How to add folders to the PATH environment variable?

Message non lude nahkoots » 24 Avr 2016, 19:55

Here's the error:

cygwin error3.png
Avatar de l’utilisateur
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 12%
 
Messages: 21
Inscription: 23 Aoû 2014, 16:57
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: How to add folders to the PATH environment variable?

Message non lude Vogtinator » 25 Avr 2016, 15:04

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.
Avatar de l’utilisateur
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 1.6%
 
Messages: 217
Inscription: 29 Mar 2014, 15:55
Genre: Homme
Calculatrice(s):
MyCalcs profile

Suivante

Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 30 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1377 utilisateurs:
>1356 invités
>16 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)