π
<-
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 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 10.9%
 
Posts: 51
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

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: 32.9%
 
Posts: 2645
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.
Image
MyCalcs
: Help the community's calculator documentations by filling out your calculator info!
MyCalcs
: Aidez la communauté à documenter les calculatrices en donnant des infos sur votre calculatrice ![/url]
Inspired-Lua.org
: All about TI-Nspire Lua programming
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 58.7%
 
Posts: 13611
Images: 1101
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
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 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 10.9%
 
Posts: 51
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

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: 32.9%
 
Posts: 2645
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 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 10.9%
 
Posts: 51
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

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: 32.9%
 
Posts: 2645
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 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 10.9%
 
Posts: 51
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 7: EP (Espèce Protégée: geek)
Niveau 7: EP (Espèce Protégée: geek)
Level up: 10.9%
 
Posts: 51
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):

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: 32.9%
 
Posts: 2645
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 5 guests

-
Search
-
Social
-
Featured topics
Concours de rentrée 2021 - La Geste d'Alrys
Concours de rentrée 2021 - Synchro-donjon !
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
Journées APMEP 2021 à l'IUT de Bourges les 24-25 Octobre. Viens rencontrer Casio, NumWorks, TI et Vittascience.
Coque NumWorks édition limitée Octobre 2021 à gagner.
123456
-
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.
519 utilisateurs:
>491 invités
>22 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)