π
<-

How to add folders to the PATH environment variable?

C, C++, ASM...

How to add folders to the PATH environment variable?

Unread postby nahkoots » 24 Apr 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?
You do not have the required permissions to view the files attached to this post.
User avatar
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 12%
 
Posts: 21
Joined: 23 Aug 2014, 16:57
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby Lionel Debroux » 24 Apr 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.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.4%
 
Posts: 6873
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

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

Unread postby nahkoots » 24 Apr 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)?
User avatar
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 12%
 
Posts: 21
Joined: 23 Aug 2014, 16:57
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby Lionel Debroux » 24 Apr 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.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.4%
 
Posts: 6873
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

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

Unread postby nahkoots » 24 Apr 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.
You do not have the required permissions to view the files attached to this post.
User avatar
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 12%
 
Posts: 21
Joined: 23 Aug 2014, 16:57
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby Adriweb » 24 Apr 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

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...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 79.9%
 
Posts: 14839
Images: 1131
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

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

Unread postby nahkoots » 24 Apr 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.
User avatar
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 12%
 
Posts: 21
Joined: 23 Aug 2014, 16:57
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby Adriweb » 24 Apr 2016, 19:52

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...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 79.9%
 
Posts: 14839
Images: 1131
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

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

Unread postby nahkoots » 24 Apr 2016, 19:55

Here's the error:

cygwin error3.png
You do not have the required permissions to view the files attached to this post.
User avatar
nahkoots
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 12%
 
Posts: 21
Joined: 23 Aug 2014, 16:57
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby Vogtinator » 25 Apr 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.
User avatar
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

Next

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: ClaudeBot [spider] and 4 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
2114 utilisateurs:
>2068 invités
>38 membres
>8 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)