π
<-
Chat plein-écran
[^]

Can´t compile KhiCas| gmp.h missing?

C, C++, ASM...

Can´t compile KhiCas| gmp.h missing?

Unread postby SuperXX » 13 Jun 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
User avatar
SuperXX
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 0%
 
Posts: 36
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

Online

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

Unread postby parisse » 13 Jun 2021, 19:41

You must cross-compile gmp/mpfr for ARM.
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 24.3%
 
Posts: 2479
Joined: 13 Dec 2013, 16:35
Gender: Not specified

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

Unread postby Adriweb » 13 Jun 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.
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 57.9%
 
Posts: 13454
Images: 1101
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
Twitter: adriweb
GitHub: adriweb

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

Unread postby SuperXX » 14 Jun 2021, 08:27

parisse wrote:You must cross-compile gmp/mpfr for ARM.


I know that I may sound a real noob, but how can I do that?
User avatar
SuperXX
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 0%
 
Posts: 36
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

Online

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

Unread postby parisse » 14 Jun 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
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 24.3%
 
Posts: 2479
Joined: 13 Dec 2013, 16:35
Gender: Not specified

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

Unread postby SuperXX » 15 Jun 2021, 11:49

parisse wrote: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?
User avatar
SuperXX
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 0%
 
Posts: 36
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

Online

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

Unread postby parisse » 15 Jun 2021, 13:58

Should be fixed!
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 24.3%
 
Posts: 2479
Joined: 13 Dec 2013, 16:35
Gender: Not specified

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

Unread postby SuperXX » 15 Jun 2021, 22:01

parisse wrote:Should be fixed!

Its working, thank you.

I'll try this later
User avatar
SuperXX
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 0%
 
Posts: 36
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

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

Unread postby SuperXX » 16 Jun 2021, 15:30

parisse wrote: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 .
User avatar
SuperXX
Niveau 6: SM (Super Membre)
Niveau 6: SM (Super Membre)
Level up: 0%
 
Posts: 36
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

Online

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

Unread postby parisse » 16 Jun 2021, 16:32

Did you unarchive the file?
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 24.3%
 
Posts: 2479
Joined: 13 Dec 2013, 16:35
Gender: Not specified

Next

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: No registered users and 1 guest

-
Search
-
Social
-
Featured topics
Remplace ton ancienne fx-92 Collège ou Graph 35 par la Graph 90+E couleur. Pour tout achat, Casio te rembourse 10€ en cas de retour de ta fx-92 Collège, ou 15€ en cas de retour de ta Graph 35. Etiquette de retour fournie, pas de frais de port à payer, même les anciens modèles et machines non fonctionnelles sont acceptées. En partenariat avec les Restos du coeur.
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 35 d'ici le 30 Septembre 2021
Reprise de ton ancienne fx-92 Collège à 5€ ou Graph 35 à 10€. Même non fonctionnelle ou ancien modèle. Etiquette de retour fournie, pas de frais de port à payer. En partenariat avec les Restos du coeur.
Comparaisons des meilleurs prix pour acheter sa calculatrice !
25€ remboursés par Casio sur l'achat de ta calculatrice fx-CP400 d'ici le 31 Octobre 2021
3€ remboursés par Casio sur l'achat de ta calculatrice fx-92 Collège d'ici le 30 Septembre 2021
Découvre les nouvelles fonctionnalités en Python de l'OS 5.5 pour la 83PCE/84+C-T Python Edition
Découvre les nouvelles fonctionnalités en Python de l'OS 5.2 pour les Nspire CX II
Omega, le fork étendant les capacités de ta NumWorks, même en mode examen !
123456789
-
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.
541 utilisateurs:
>525 invités
>10 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)