π
<-
Chat plein-écran
[^]

Error while Installing Nspire SDK

C, C++, ASM...

Error while Installing Nspire SDK

Message non lude FBEI » 03 Mar 2017, 23:22

Hello,

every time I try to install The Ndless SDK if I try to build the the picture marked position get this error on linux and Windows:

$ make
make -C ndless-sdk
make[1]: Entering Entering directory „/ndless/new/ndless/ndless-sdk“
make -C libsyscalls
make[2]: Entering directory „/ndless/new/ndless/ndless-sdk/libsyscalls“
php mkStubs.php > ../include/syscall-decls.h
arm-none-eabi-g++ -mcpu=arm926ej-s -std=c++11 -nostdlib -O3 -fPIE -fno-exceptions -fno-rtti -mlong-calls -Wall -Werror -I ../include/ -I ../thirdparty/nspire-io/include/ -D_TINSPIRE -ffunction-sections -fdata-sections -c stubs.cpp -o stubs.o
make[2]: arm-none-eabi-g++: Command not found
make[2]: *** [Makefile:17: stubs.o] Fehler 127
make[2]: Entering directory „/ndless/new/ndless/ndless-sdk/libsyscalls“
make[1]: *** [Makefile:13: build-libsyscalls] Error 2
make[1]: Entering directory „/ndless/new/ndless/ndless-sdk“
make: *** [Makefile:19: build-ndless-sdk] Error 2

Image

Can anybody say, whats the issue?
Or it is possible to download the compiled SDK?
Avatar de l’utilisateur
FBEI
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 0%
 
Messages: 3
Inscription: 03 Mar 2017, 22:53
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Error while Installing Nspire SDK

Message non lude Adriweb » 03 Mar 2017, 23:28

Make sure to have the PATH changes applied before building Ndless and the SDK.
For instance, close the terminal and open it again. If you did the path update correctly, then it should work (in this case, arm-none-eabi-g++ will be found)
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.2%
 
Messages: 14613
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Error while Installing Nspire SDK

Message non lude FBEI » 04 Mar 2017, 00:15

I used this commands to add the PATH:

export PATH="/home/user/Schreibtisch/Ndless/ndless-sdk/toolchain/install/bin:/home/user/Schreibtisch/Ndless/ndless-sdk/bin:${PATH}:/home/user/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" >> ~/.bash_profile

But if I enter echo $PATH

the Path is not changed
Avatar de l’utilisateur
FBEI
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 0%
 
Messages: 3
Inscription: 03 Mar 2017, 22:53
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Error while Installing Nspire SDK

Message non lude Adriweb » 04 Mar 2017, 00:29

You may need to save that into .bashrc not bash_profile, it depends. Also, see http://unix.stackexchange.com/a/26059 in general for the proper way to add a path.
Simply put, just add the export line at the end of your shell config file. You can use gedit,nano,vim,emacs, whatever, to do that.

But as I said, after that, you'll need to relaunch a terminal to take it into account (or 'source' the config file again).
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.2%
 
Messages: 14613
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Error while Installing Nspire SDK

Message non lude FBEI » 04 Mar 2017, 00:40

Know i added the PATH successfully, but i also get the Error: make[2]: arm-none-eabi-g++: Command not found
I also Rebooted also the system
Avatar de l’utilisateur
FBEI
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 0%
 
Messages: 3
Inscription: 03 Mar 2017, 22:53
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Error while Installing Nspire SDK

Message non lude Vogtinator » 04 Mar 2017, 10:02

FBEI a écrit:I used this commands to add the PATH:

export PATH="/home/user/Schreibtisch/Ndless/ndless-sdk/toolchain/install/bin:/home/user/Schreibtisch/Ndless/ndless-sdk/bin:${PATH}:/home/user/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" >> ~/.bash_profile

But if I enter echo $PATH

the Path is not changed


The command you posted won't do anything. It saves the *output* of export into bash_profile.
You want to save the command itself to bash_profile. So just open it in your favorite editor and add it.
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

Re: Error while Installing Nspire SDK

Message non lude parrotgeek1 » 07 Mar 2017, 04:46

actually if you just added echo to the beginning of that command it should work
Avatar de l’utilisateur
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Prochain niv.: 88%
 
Messages: 745
Inscription: 29 Mar 2016, 01:22
Localisation: This account is no longer used.
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Error while Installing Nspire SDK

Message non lude Vogtinator » 07 Mar 2017, 07:27

parrotgeek1 a écrit:actually if you just added echo to the beginning of that command it should work


No, because it would strip the "s.
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

Re: Error while Installing Nspire SDK

Message non lude parrotgeek1 » 07 Mar 2017, 07:57

Vogtinator a écrit:
parrotgeek1 a écrit:actually if you just added echo to the beginning of that command it should work


No, because it would strip the "s.

oh, good point
Avatar de l’utilisateur
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Prochain niv.: 88%
 
Messages: 745
Inscription: 29 Mar 2016, 01:22
Localisation: This account is no longer used.
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile


Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 11 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.
1660 utilisateurs:
>1611 invités
>44 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)