π
<-
Chat plein-écran
[^]

Can´t compile KhiCas| gmp.h missing?

C, C++, ASM...

Can´t compile KhiCas| gmp.h missing?

Message non lude SuperXX » 13 Juin 2021, 15:38

I´m trying to compile KhiCas and an error saying "fatal error: gmp.h: No such file or directory" appears. I´ve searched for it and it seems that libgmp3-dev was missing, so I run the apt-get command to install it and try again, still nothing. I´ve also tried to ran some other apt-get commands to install things but they were already installed. But it still Gives me the error.

Here is an image of the error:

Image

Does somebody know what´s going on?

Thank you
Avatar de l’utilisateur
SuperXX
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Prochain niv.: 43.8%
 
Messages: 66
Inscription: 15 Mai 2021, 10:25
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude parisse » 13 Juin 2021, 19:41

You must cross-compile gmp/mpfr for ARM.
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3499
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude Adriweb » 13 Juin 2021, 20:45

Speaking of which, Vogtinator wasn't against the idea of adding those directly to the Ndless SDK, if properly done (libs, headers, updating the makefiles here and there) ; I suppose a PR for that wouldn't be very complicated, and would make building khicas (or anything else using that) simpler.
Image

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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.1%
 
Messages: 14605
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude SuperXX » 14 Juin 2021, 08:27

parisse a écrit:You must cross-compile gmp/mpfr for ARM.


I know that I may sound a real noob, but how can I do that?
Avatar de l’utilisateur
SuperXX
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Prochain niv.: 43.8%
 
Messages: 66
Inscription: 15 Mai 2021, 10:25
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude parisse » 14 Juin 2021, 19:38

It's unfortunately not that easy. Maybe the easiest is to add pre-compiled libraries and headers, from https://www-fourier.univ-grenoble-alpes.fr/~parisse/ti/gmpfr_nspire.tgz
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3499
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude SuperXX » 15 Juin 2021, 11:49

parisse a écrit:It's unfortunately not that easy. Maybe the easiest is to add pre-compiled libraries and headers, from https://www-fourier.univ-grenoble-alpes ... nspire.tgz


Sorry man, but it´s saying that I don´t have permission to access it

Image

Can you send me in another way?
Avatar de l’utilisateur
SuperXX
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Prochain niv.: 43.8%
 
Messages: 66
Inscription: 15 Mai 2021, 10:25
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude parisse » 15 Juin 2021, 13:58

Should be fixed!
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3499
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude SuperXX » 15 Juin 2021, 22:01

parisse a écrit:Should be fixed!

Its working, thank you.

I'll try this later
Avatar de l’utilisateur
SuperXX
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Prochain niv.: 43.8%
 
Messages: 66
Inscription: 15 Mai 2021, 10:25
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude SuperXX » 16 Juin 2021, 15:30

parisse a écrit:It's unfortunately not that easy. Maybe the easiest is to add pre-compiled libraries and headers, from https://www-fourier.univ-grenoble-alpes.fr/~parisse/ti/gmpfr_nspire.tgz


So, I´ve downloaded it and I have copied it to the ndless-sdk. Still the same error. I don´t really know how to do it. I thinked I needed to make the sdk again, but even when I deleted, executed the "gitclone" command, copied the files and have done the installation proccess again, it didn´t work. So, what do I need to do? I´ve tried to search on "How to add libraries to ndless-sdk" and I dind´t find nothing.

Note: I´ve done this on my Laptop with Kali Linux, but I don´t think that´s the problem .
Avatar de l’utilisateur
SuperXX
Niveau 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Prochain niv.: 43.8%
 
Messages: 66
Inscription: 15 Mai 2021, 10:25
Genre: Homme
Calculatrice(s):
MyCalcs profile

Re: Can´t compile KhiCas| gmp.h missing?

Message non lude parisse » 16 Juin 2021, 16:32

Did you unarchive the file?
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3499
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Suivante

Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 15 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1837 utilisateurs:
>1825 invités
>7 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)