π
<-
Chat plein-écran
[^]

Can´t compile KhiCas| gmp.h missing?

C, C++, ASM...

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

Message non lude SuperXX » 03 Juil 2021, 12:55

parisse a écrit:Did you get a giac.elf file? If so, then run genzehn by hand. If not, then run nspire-ld by hand, according to the Makefile
Code: Tout sélectionner
...
khicas.tns:   $(OBJS) giacnspire.o #missing.o
   nspire-ld -o giac.elf giacnspire.o $(OBJS) $(LDFLAGS)
   $(GENZEHN) --compress --input giac.elf --output khicas.tns.zehn --name "giac"  --uses-lcd-blit true #--240x320-support  true
...

If you run by hand, OBJS and LDFLAGS must be replaced by their definitions, GENZEHN is simply genzehn


Ok, I needed to manually install Genzehn, but it´s now done.

Now I think I compiled it:

Image
Image

But I can´t see neither ptt.tns (which is mentioned on the Makefile:
Code: Tout sélectionner
$(GENZEHN) --input giac.elf --output khicas.tns.zehn --name "giac"  --uses-lcd-blit true
   make-prg ptt.tns.zehn ptt.tns
   genzehn --info --input ptt.tns
   /bin/cp ptt.tns /home/ubuntu/Ndless/ti/ndless

but there is no ptt.tns on that directory and not even on the .zip) and shakeys.tns (though that is never mentioned on the makefile or nowhere, I can only see it on the folder to install khicas on my calculator and I can´t understand what is it and, to add up, it also doesn´t open on my calc)

I deleted the files I had on the ndless folder, except the ndless files and imported the compiled files into my calculator (without ptt.tns and shakeys.tns) and I´m having a screen problem.

Now, maybe if I play around with the makefile code I could do this by myself, but, since I´m already here, the file only talks about for the CX II and CX HW-W screens. Mine is a HW:Y. What should I change?

And here is a last question that has nothing to do with compiling at all:
Do I need the XCas folder on my calc? The install file doesn´t mention to copy it, and I just have it on my calculator occupiyng space.

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 » 03 Juil 2021, 14:33

For your hardware, try without --uses-lcd-blit true, this should solve the screen display bugs.
You can not generate ptt.tns and shakeys.tns, because these files are used to activate KhiCAS exam mode on the nspire cx (it works like TI exam mode, but it does not erase the ressources required to run KhiCAS).
The Xcas folder contains session examples. You don't need to copy it on your calc, except if you want to run the examples of course.
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.8%
 
Messages: 3511
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Can´t compile KhiCas| gmp.h missing? [SOLVED]

Message non lude SuperXX » 04 Juil 2021, 10:45

parisse a écrit:For your hardware, try without --uses-lcd-blit true, this should solve the screen display bugs.


Ok,I removed " --uses-lcd-blit true" and it was still not working properly. I had to do it like if it was for HW-W and removed the "--240x320-support true" and with compatibility mode it´s working, so I´m fine with that.

parisse a écrit:You can not generate ptt.tns and shakeys.tns, because these files are used to activate KhiCAS exam mode on the nspire cx (it works like TI exam mode, but it does not erase the ressources required to run KhiCAS).

Ok

parisse a écrit:The Xcas folder contains session examples. You don't need to copy it on your calc, except if you want to run the examples of course.


Great, I hope it helps, because my calculator is getting really slow when I click in "My Documents"

Well, that´s it. Thank You so Much @parisse and @Adriweb for all the help! :)

Maybe later this week I´ll make a summary of every problem I encountered and the solution for them for future reference

See ya
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

Précédente

Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 5 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.
1489 utilisateurs:
>1463 invités
>22 membres
>4 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)