π
<-

Ndless IDE for wsl

C, C++, ASM...

Ndless IDE for wsl

Unread postby Rankail » 25 Aug 2021, 20:37

I'm installing the ndless sdk using wsl. Which IDE could i use? I had a experience where i corrupted some data of the wsl because i changed files with windows and not trough the linux console so i wanna make sure i'm getting it right.
User avatar
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 64%
 
Posts: 21
Joined: 09 Nov 2019, 18:33
Location: Germany, North Rhine-Westfalia
Gender: Male
Calculator(s):
MyCalcs profile
Class: 12

Re: Ndless IDE for wsl

Unread postby Ti64CLi++ » 25 Aug 2021, 20:55

You could use vscode, which natively support wsl. Check this link : https://code.visualstudio.com/docs/remote/wsl-tutorial ;)
Image
User avatar
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 32.5%
 
Posts: 3446
Images: 75
Joined: 04 Jul 2014, 14:40
Location: Clermont-Ferrand 63
Gender: Male
Calculator(s):
MyCalcs profile
Class: ENS Rennes
GitHub: Ti64CLi

Re: Ndless IDE for wsl

Unread postby Rankail » 25 Aug 2021, 21:10

I'll try it out once the toolchain is finished - which has been running for almost 2h now because my laptop isn't that fast - and the sdk is fully installed.
User avatar
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 64%
 
Posts: 21
Joined: 09 Nov 2019, 18:33
Location: Germany, North Rhine-Westfalia
Gender: Male
Calculator(s):
MyCalcs profile
Class: 12

Re: Ndless IDE for wsl

Unread postby SlyVTT » 26 Aug 2021, 14:50

I would say there is no perfect answer when it comes to chose the right IDE. This is very often a matter of own preferences.

VSCode is good, and there are really lots of add-ins available, but the philosophy is a bit different than some can expect (meaning many things must be setup by user, many things are optimised for keyboard use rather than mouse, ...), so may users can be a bit "afraid" or at least "disturbed" when using it (and I need to confess I am one of those).

Code::Blocks is also good. And closer to usual IDE approach but with no integration of GIT or WSL, so this part must be setup manually by user. In my case, I have two Code::Blocks setup, one using the windows version and one using the linux version running on WSL with GUI support (I am using GWSL to correctly setup a X11 server on WSL as I was not able to correctly activate the GUI support on my WSL2). If needed you can have a look here https://www.microsoft.com/fr-fr/p/gwsl/9nl6kd1h33v3?activetab=pivot:overviewtab

BR

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
User avatar
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 48.2%
 
Posts: 547
Images: 32
Joined: 19 Jan 2021, 09:41
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: SlyVTT

Re: Ndless IDE for wsl

Unread postby Rankail » 26 Aug 2021, 18:31

I got vs code to running, compiled my first code, ran it in firebird and it worked.
Here is my new problem (not really a problem but it's really slow).
When i save my file in vsc i have to compile it. That's normal. But then i have to copy the file from a file explorer opened in wsl to a file-explorer opened in windows just to drag it into the firebird emulator. Is there some way to make this faster? Like automating the copying from wsl to windows? Maybe you could combine it with running make in the launch.json?
User avatar
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 64%
 
Posts: 21
Joined: 09 Nov 2019, 18:33
Location: Germany, North Rhine-Westfalia
Gender: Male
Calculator(s):
MyCalcs profile
Class: 12

Re: Ndless IDE for wsl

Unread postby Ti64CLi++ » 26 Aug 2021, 18:45

You can access the wsl file system in Windows Explorer if you have a recent enough version. I don't know which one exactly, but you can check it out on the internet.
Otherwise you can always access the windows files system in wsl and save your projects under your C drive, mounted at /mnt/c ;)
Image
User avatar
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 32.5%
 
Posts: 3446
Images: 75
Joined: 04 Jul 2014, 14:40
Location: Clermont-Ferrand 63
Gender: Male
Calculator(s):
MyCalcs profile
Class: ENS Rennes
GitHub: Ti64CLi

Re: Ndless IDE for wsl

Unread postby SlyVTT » 26 Aug 2021, 18:51

Assuming you have Ubuntu as a WSL distribution, you can access your file also from an windows explorer by using the following path :

\\wsl$\Ubuntu

By default, your projects are certainly in a subdirectory of your home directory :

\\wsl$\Ubuntu\home\xxx

with xxx being your current username.

Hope it helps.

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
User avatar
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 48.2%
 
Posts: 547
Images: 32
Joined: 19 Jan 2021, 09:41
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: SlyVTT


Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: ClaudeBot [spider] and 3 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.
1170 utilisateurs:
>1137 invités
>28 membres
>5 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)