π
<-

Installation du SDK Ndless

C, C++, ASM...

Re: Installation du SDK Ndless

Unread postby Ti64CLi++ » 04 Oct 2017, 18:24

Rah, desole alors, de cette question inutile :'(
Je vais de ce pas installer php, au sens large, avec tout les packages que me trouveras sudo apt-get install php :D
Merci Lionel Debroux, et desole de ma stupidite :'(
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: Installation du SDK Ndless

Unread postby Ti64CLi++ » 04 Oct 2017, 18:27

Desole pour le double post, mais il ne me semble pas avoir vu PHP en tant que dependance sur le wiki ou je me trompe?
Peut etre le modifier en consequence ;)
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: Installation du SDK Ndless

Unread postby Lionel Debroux » 04 Oct 2017, 18:27

Pas besoin de tout installer, le package que j'ai cité (ou un nom approchant - il faut quelque chose qui fournit l'outil en ligne de commande "php") devrait être suffisant.
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.3%
 
Posts: 6869
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

Re: Installation du SDK Ndless

Unread postby Ti64CLi++ » 04 Oct 2017, 18:28

Ah, ok, alors je test avec le nom que tu as donne :)
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: Installation du SDK Ndless

Unread postby Ti64CLi++ » 04 Oct 2017, 18:33

Bon alors, quand je fais sudo apt-get install php5-cli il me dit
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  php7.0-cli

E: Package 'php5-cli' has no installation candidate

Donc j'ai installe php7.0-cli, est-ce bon?
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: Installation du SDK Ndless

Unread postby Adriweb » 04 Oct 2017, 18:37

Oui, mais depuis presque un mois maintenant, il me semble que PHP n'est plus nécessaire ( https://github.com/ndless-nspire/Ndless/issues/81 ). Autrement dit, tu as à priori une vieille version du SDK (un petit git pull --rebase devrait aider)
Mais bon, on n'est plus à ça prêt, essaye de continuer avec ta version.

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.7%
 
Posts: 14820
Images: 1131
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Installation du SDK Ndless

Unread postby Ti64CLi++ » 04 Oct 2017, 18:41

Ok, mais j'ai encore d'autre erreur, cette fois sur des fichiers c, et les commandes qu'il y a dedans:
Code: Select all
make[4]: Leaving directory '/home/neuronix/Ndless/ndless/src/tools/MakeQnAInst'
make -C XORInstaller
make[4]: Entering directory '/home/neuronix/Ndless/ndless/src/tools/XORInstaller'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/neuronix/Ndless/ndless/src/tools/XORInstaller'
make -C MakeChunkDispatch
make[4]: Entering directory '/home/neuronix/Ndless/ndless/src/tools/MakeChunkDispatch'
g++     MakeChunkDispatch.cpp   -o MakeChunkDispatch
In file included from /usr/include/c++/5/cstdint:35:0,
                 from MakeChunkDispatch.cpp:31:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
  ^
MakeChunkDispatch.cpp:37:2: error: ‘uint32_t’ does not name a type
  uint32_t next;
  ^
MakeChunkDispatch.cpp:38:2: error: ‘uint32_t’ does not name a type
  uint32_t prev;
  ^
MakeChunkDispatch.cpp:39:2: error: ‘uint32_t’ does not name a type
  uint32_t free;
  ^
MakeChunkDispatch.cpp:40:2: error: ‘uint32_t’ does not name a type
  uint32_t pool;
  ^
MakeChunkDispatch.cpp: In function ‘int main(int, char**)’:
MakeChunkDispatch.cpp:51:2: error: ‘uint32_t’ was not declared in this scope
  uint32_t target_ptr = strtol(argv[1], nullptr, 0);
  ^
MakeChunkDispatch.cpp:52:11: error: expected ‘;’ before ‘dispatch_start’
  uint32_t dispatch_start = strtol(argv[2], nullptr, 0);
           ^
MakeChunkDispatch.cpp:53:11: error: expected ‘;’ before ‘dispatch_end’
  uint32_t dispatch_end = dispatch_start + 1024*1024;
           ^
MakeChunkDispatch.cpp:54:11: error: expected ‘;’ before ‘dispatch_indices’
  uint32_t dispatch_indices = (dispatch_end - dispatch_start) / 4;
           ^
MakeChunkDispatch.cpp:56:11: error: expected ‘;’ before ‘chunk_ptr’
  uint32_t chunk_ptr = dispatch_end;
           ^
MakeChunkDispatch.cpp:57:15: error: expected ‘;’ before ‘dispatch_index’
  for(uint32_t dispatch_index = 0; dispatch_index < dispatch_indices; ++dispatch_index, chunk_ptr += sizeof(chunk) - 4)
               ^
MakeChunkDispatch.cpp:57:35: error: ‘dispatch_index’ was not declared in this scope
  for(uint32_t dispatch_index = 0; dispatch_index < dispatch_indices; ++dispatch_index, chunk_ptr += sizeof(chunk) - 4)
                                   ^
MakeChunkDispatch.cpp:57:52: error: ‘dispatch_indices’ was not declared in this scope
  for(uint32_t dispatch_index = 0; dispatch_index < dispatch_indices; ++dispatch_index, chunk_ptr += sizeof(chunk) - 4)
                                                    ^
MakeChunkDispatch.cpp:57:88: error: ‘chunk_ptr’ was not declared in this scope
  for(uint32_t dispatch_index = 0; dispatch_index < dispatch_indices; ++dispatch_index, chunk_ptr += sizeof(chunk) - 4)
                                                                                        ^
MakeChunkDispatch.cpp:59:12: error: expected ‘;’ before ‘pointer’
   uint32_t pointer = chunk_ptr + 0x10;
            ^
MakeChunkDispatch.cpp:60:13: error: ‘pointer’ was not declared in this scope
   write(1, &pointer, 4);
             ^
MakeChunkDispatch.cpp:63:11: error: expected ‘;’ before ‘chunks_end’
  uint32_t chunks_end = dispatch_end + sizeof(chunk) * dispatch_indices;
           ^
MakeChunkDispatch.cpp:64:15: error: expected ‘;’ before ‘dispatch_index’
  for(uint32_t dispatch_index = 0; dispatch_index < dispatch_indices; ++dispatch_index)
               ^
MakeChunkDispatch.cpp:64:35: error: ‘dispatch_index’ was not declared in this scope
  for(uint32_t dispatch_index = 0; dispatch_index < dispatch_indices; ++dispatch_index)
                                   ^
MakeChunkDispatch.cpp:64:52: error: ‘dispatch_indices’ was not declared in this scope
  for(uint32_t dispatch_index = 0; dispatch_index < dispatch_indices; ++dispatch_index)
                                                    ^
MakeChunkDispatch.cpp:66:12: error: expected ‘;’ before ‘local_chunks_end’
   uint32_t local_chunks_end = chunks_end - dispatch_index * 4;
            ^
MakeChunkDispatch.cpp:68:5: error: ‘struct chunk’ has no member named ‘next’
   c.next = local_chunks_end;
     ^
MakeChunkDispatch.cpp:68:12: error: ‘local_chunks_end’ was not declared in this scope
   c.next = local_chunks_end;
            ^
MakeChunkDispatch.cpp:69:5: error: ‘struct chunk’ has no member named ‘prev’
   c.prev = target_ptr;
     ^
MakeChunkDispatch.cpp:69:12: error: ‘target_ptr’ was not declared in this scope
   c.prev = target_ptr;
            ^
MakeChunkDispatch.cpp:70:5: error: ‘struct chunk’ has no member named ‘free’
   c.free = 0;
     ^
MakeChunkDispatch.cpp:71:5: error: ‘struct chunk’ has no member named ‘pool’
   c.pool = 0x13A00000; // Area of zeros
     ^
<builtin>: recipe for target 'MakeChunkDispatch' failed
make[4]: *** [MakeChunkDispatch] Error 1
make[4]: Leaving directory '/home/neuronix/Ndless/ndless/src/tools/MakeChunkDispatch'
Makefile:10: recipe for target 'build-MakeChunkDispatch' failed
make[3]: *** [build-MakeChunkDispatch] Error 2
make[3]: Leaving directory '/home/neuronix/Ndless/ndless/src/tools'
Makefile:9: recipe for target 'build-tools' failed
make[2]: *** [build-tools] Error 2
make[2]: Leaving directory '/home/neuronix/Ndless/ndless/src'
Makefile:9: recipe for target 'build-src' failed
make[1]: *** [build-src] Error 2
make[1]: Leaving directory '/home/neuronix/Ndless/ndless'
Makefile:19: recipe for target 'build-ndless' failed
make: *** [build-ndless] Error 2


Par contre, il me semble que cette fois, j'ai bien lu les erreurs, mais je ne vois pas comment les resoudre :(
(Mais j'ai vu comme quoi il fallait in compile supportant le C11, alors je vous dis que gcc avec le support c++ est installe, j'ai deja fait in sudo apt-get install build-essential)
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: Installation du SDK Ndless

Unread postby Lionel Debroux » 04 Oct 2017, 18:46

Ca aussi, c'est un problème qui n'existe plus dans Ndless Git HEAD: https://github.com/ndless-nspire/Ndless ... 649596846d .
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.3%
 
Posts: 6869
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

Re: Installation du SDK Ndless

Unread postby Ti64CLi++ » 04 Oct 2017, 18:49

Il faut donc que je recommence l'installation depuis le debut? Enfin, je fais in git, et je reliance le build_toolchain.sh c'est ca?
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: Installation du SDK Ndless

Unread postby Lionel Debroux » 04 Oct 2017, 19:08

Oui, c'est ça.
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.3%
 
Posts: 6869
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

PreviousNext

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: ClaudeBot [spider] and 5 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.
1178 utilisateurs:
>1142 invités
>30 membres
>6 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)