Page 1 of 1

Installing the Ndless SDK

Unread postPosted: 23 May 2017, 21:59
by ivanbsabev
How can I install the ndless sdk on Ubuntu? Can someone give me a step by step tutorial?
:nsh: :nse: :nsl: :nsp:

Re: Installing the Ndless SDK

Unread postPosted: 23 May 2017, 22:02
by critor
Hi.

In theory, I think you just need to :

Let's hope it'll build without errors.

Re: Installing the Ndless SDK

Unread postPosted: 23 May 2017, 22:03
by Adriweb
Well, more detailed steps are written in the repo's wiki.

Read this (for the dependencies) : https://github.com/ndless-nspire/Ndless ... k-yourself
Then follow the steps from here: https://github.com/ndless-nspire/Ndless ... nd-the-sdk

Re: Installing the Ndless SDK

Unread postPosted: 24 May 2017, 22:20
by ivanbsabev
Is there any guide on installing all the dependencies?

Re: Installing the Ndless SDK

Unread postPosted: 17 Feb 2021, 10:49
by SpiderX13
Information is missing in all the tutos,
Here are the dependencies I use for Ubuntu 20.04 :

sudo apt install libgmp-dev libmpfr-dev libmpc-dev python3-dev build-essential binutils git wget zlib texinfo

I had always "Error 2" en after a while, I install texinfo (for Make Info) and now the build produce :

Cleaning up...
You can delete the download/ directory to save some space.
Done!

Hope it helps

Re: Installing the Ndless SDK

Unread postPosted: 17 Feb 2021, 20:32
by SlyVTT
Hello,

I made a tutorial on that topic just here https://tiplanet.org/forum/viewtopic.php?f=20&t=24557#p258741, but I realize I wrote it in French, so maybe hard to follow for an english spoker.

So let me give you the main points, assuming your Ubuntu distribution is already running with an internet conenction.
The background of my tutorial was an installation within a windows computer running Kubuntu through a virtual machine, but I guess it is very similar with Ubuntu.

the easy way is to first install the package python3-dev :
Code: Select all
sudo apt install python3-dev

then there is an automatic installer that you can find here : https://github.com/trueToastedCode/NdlessSDK-automated-installer consisting in a single python script that:
- downloads and installs all the missing packages
- downloads the SDK
- AND builds and installs the SDK properly.

I recommend putting the .py script directly in your home folder. It will create all the needed subfolders and installs in a clean way.

Just run it with
Code: Select all
sudo python ./NdlessSDK_AutoInstall.py


Hope it helps.

One last remark ... it takes an eternity to compile !! So don't be surprised.

Sly

Re: Installing the Ndless SDK

Unread postPosted: 21 Aug 2021, 16:42
by grosged
SlyVTT wrote:then there is an automatic installer that you can find here : https://github.com/trueToastedCode/NdlessSDK-automated-installer consisting in a single python script that:
- downloads and installs all the missing packages
- downloads the SDK
- AND builds and installs the SDK properly.

I recommend putting the .py script directly in your home folder. It will create all the needed subfolders and installs in a clean way.

Just run it with
Code: Select all
sudo python ./NdlessSDK_AutoInstall.py


Hope it helps.

One last remark ... it takes an eternity to compile !! So don't be surprised.

Sly


Merci beaucoup!!!
longue installation réalisée avec succès ;)

Re: Installing the Ndless SDK

Unread postPosted: 21 Aug 2021, 17:06
by SlyVTT
Very good :-)