Installation du SDK Ndless
Re: Installation du SDK Ndless
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
Merci Lionel Debroux, et desole de ma stupidite
Je vais de ce pas installer php, au sens large, avec tout les packages que me trouveras sudo apt-get install php
Merci Lionel Debroux, et desole de ma stupidite
-
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 3441
- Images: 75
- Inscription: 04 Juil 2014, 14:40
- Localisation: Clermont-Ferrand 63
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: ENS Rennes
- GitHub: Ti64CLi
Re: Installation du SDK Ndless
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
Peut etre le modifier en consequence
-
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 3441
- Images: 75
- Inscription: 04 Juil 2014, 14:40
- Localisation: Clermont-Ferrand 63
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: ENS Rennes
- GitHub: Ti64CLi
Re: Installation du SDK Ndless
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.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Messages: 6859
- Inscription: 23 Déc 2009, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: -
- GitHub: debrouxl
-
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 3441
- Images: 75
- Inscription: 04 Juil 2014, 14:40
- Localisation: Clermont-Ferrand 63
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: ENS Rennes
- GitHub: Ti64CLi
Re: Installation du SDK Ndless
Bon alors, quand je fais sudo apt-get install php5-cli il me dit
Donc j'ai installe php7.0-cli, est-ce bon?
- Code: Tout sélectionner
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?
-
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 3441
- Images: 75
- Inscription: 04 Juil 2014, 14:40
- Localisation: Clermont-Ferrand 63
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: ENS Rennes
- GitHub: Ti64CLi
Re: Installation du SDK Ndless
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
Mais bon, on n'est plus à ça prêt, essaye de continuer avec ta version.
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...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14606
- Images: 1216
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: Installation du SDK Ndless
Ok, mais j'ai encore d'autre erreur, cette fois sur des fichiers c, et les commandes qu'il y a dedans:
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)
- Code: Tout sélectionner
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)
-
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 3441
- Images: 75
- Inscription: 04 Juil 2014, 14:40
- Localisation: Clermont-Ferrand 63
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: ENS Rennes
- GitHub: Ti64CLi
Re: Installation du SDK Ndless
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.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Messages: 6859
- Inscription: 23 Déc 2009, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: -
- GitHub: debrouxl
Re: Installation du SDK Ndless
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?
-
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 3441
- Images: 75
- Inscription: 04 Juil 2014, 14:40
- Localisation: Clermont-Ferrand 63
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: ENS Rennes
- GitHub: Ti64CLi
Re: Installation du SDK Ndless
Oui, c'est ça.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Messages: 6859
- Inscription: 23 Déc 2009, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: -
- GitHub: debrouxl
Retourner vers Native: Ndless, Linux, ...
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 14 invités