Can´t compile KhiCas| gmp.h missing?
Can´t compile KhiCas| gmp.h missing?
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:
Does somebody know what´s going on?
Thank you
Here is an image of the error:
Does somebody know what´s going on?
Thank you
-
SuperXX
Niveau 7: EP (Espèce Protégée: geek)- Messages: 66
- Inscription: 15 Mai 2021, 10:25
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can´t compile KhiCas| gmp.h missing?
You must cross-compile gmp/mpfr for ARM.
-
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)- Messages: 3579
- Inscription: 13 Déc 2013, 16:35
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can´t compile KhiCas| gmp.h missing?
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.
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
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14677
- Images: 1119
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: Can´t compile KhiCas| gmp.h missing?
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?
-
SuperXX
Niveau 7: EP (Espèce Protégée: geek)- Messages: 66
- Inscription: 15 Mai 2021, 10:25
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can´t compile KhiCas| gmp.h missing?
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
-
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)- Messages: 3579
- Inscription: 13 Déc 2013, 16:35
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can´t compile KhiCas| gmp.h missing?
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
Can you send me in another way?
-
SuperXX
Niveau 7: EP (Espèce Protégée: geek)- Messages: 66
- Inscription: 15 Mai 2021, 10:25
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can´t compile KhiCas| gmp.h missing?
Should be fixed!
-
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)- Messages: 3579
- Inscription: 13 Déc 2013, 16:35
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can´t compile KhiCas| gmp.h missing?
parisse a écrit:Should be fixed!
Its working, thank you.
I'll try this later
-
SuperXX
Niveau 7: EP (Espèce Protégée: geek)- Messages: 66
- Inscription: 15 Mai 2021, 10:25
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can´t compile KhiCas| gmp.h missing?
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 .
-
SuperXX
Niveau 7: EP (Espèce Protégée: geek)- Messages: 66
- Inscription: 15 Mai 2021, 10:25
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can´t compile KhiCas| gmp.h missing?
Did you unarchive the file?
-
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)- Messages: 3579
- Inscription: 13 Déc 2013, 16:35
- Genre:
- Calculatrice(s):→ MyCalcs profile
33 messages
• Page 1 sur 4 • 1, 2, 3, 4
Retourner vers Native: Ndless, Linux, ...
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 7 invités