Page 1 of 1

Error while Installing Nspire SDK

Unread postPosted: 03 Mar 2017, 23:22
by FBEI
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?

Re: Error while Installing Nspire SDK

Unread postPosted: 03 Mar 2017, 23:28
by Adriweb
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)

Re: Error while Installing Nspire SDK

Unread postPosted: 04 Mar 2017, 00:15
by FBEI
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

Re: Error while Installing Nspire SDK

Unread postPosted: 04 Mar 2017, 00:29
by Adriweb
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).

Re: Error while Installing Nspire SDK

Unread postPosted: 04 Mar 2017, 00:40
by FBEI
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

Re: Error while Installing Nspire SDK

Unread postPosted: 04 Mar 2017, 10:02
by Vogtinator
FBEI wrote: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.

Re: Error while Installing Nspire SDK

Unread postPosted: 07 Mar 2017, 04:46
by parrotgeek1
actually if you just added echo to the beginning of that command it should work

Re: Error while Installing Nspire SDK

Unread postPosted: 07 Mar 2017, 07:27
by Vogtinator
parrotgeek1 wrote:actually if you just added echo to the beginning of that command it should work


No, because it would strip the "s.

Re: Error while Installing Nspire SDK

Unread postPosted: 07 Mar 2017, 07:57
by parrotgeek1
Vogtinator wrote:
parrotgeek1 wrote: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