π
<-
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: 43.8%
 
Posts: 66
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):
MyCalcs profile

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: 77.8%
 
Posts: 3511
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

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 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...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.2%
 
Posts: 14615
Images: 1218
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
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: 43.8%
 
Posts: 66
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):
MyCalcs profile

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: 77.8%
 
Posts: 3511
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

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: 43.8%
 
Posts: 66
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):
MyCalcs profile

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: 77.8%
 
Posts: 3511
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

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: 43.8%
 
Posts: 66
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):
MyCalcs profile

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: 43.8%
 
Posts: 66
Joined: 15 May 2021, 10:25
Gender: Male
Calculator(s):
MyCalcs profile

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: 77.8%
 
Posts: 3511
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Next

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: No registered users and 22 guests

-
Search
-
Social TI-Planet
-
Featured topics
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
-
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.
1416 utilisateurs:
>1405 invités
>6 membres
>5 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)