Heyo, let's get straight to the point: where may I find the libfontcharacter library repository?

To give a little more context: I was looking to write a program for the fx-9860GIII calculator (using Lephe's fxsdk) that would be able to exchange information with my computer through the provided USB connector. Upon little research I came across libp7 by Thomas Touhey (Casio Communication Protocol 7.00 implementation) and decided to proceed with the installation on my WSL instance on Windows. The installation process is very well explained in the README.md file and it also very clearly lists all the required dependencies to execute the "make" build. One of the required libraries happens to be libg1m, so before installing libp7 I cloned the aforementioned repo in order to install it first, BUT that's when I read in its README.md that in order to build libg1m, you need the libfontcharacter library. Now, libg1m's README very kindly provides a direct link to each of the required libraries' repositories, but unfortunately the link for libfontcharacter (https://github.com/cakeisalie5/libfontcharacter) leads nowhere. My quest did not end there however, and after some more snooping around I stumbled across a very useful reference that helped me understand how Casio encoding works, but most importantly it provided a different link to libfontcharacter (https://github.com/PlaneteCasio/libfontcharacter) ... which lead to nowhere aswell. As a last resort I went on the library author's own repository forge (Thomas Touhey, same guy who made libp7 and libg1m), but it ended up being a dead end too. Looking up the name of the library or the header file (libfontcharacter.h) on any search engine provided no real solution either.

TL;DR: I'm looking to make a program for my calculator which would make use of the USB protocol to communicate with my computer, and in order to do that I need the libfontcharacter library which I haven't been able to find anywhere on the internet.

A back up question to first one would be: are there other ways to use the USB protocol in my C program?

Thanks in advance for the help. Smile
For FONTCHARACTER specifically, there is Cake's repository here: https://forge.touhey.org/casio/fontcharacter.git/

But I don't think libg1m is actually a dependency of p7. The most up-to-date running instructions to build it are on the AUR (https://aur.archlinux.org/packages/p7) (partly because Cake's interest in calculators waned before he could clean up and package everything properly), and if you go to "View PKGBUILD" you will see that there is an archive download and build commands that don't require any FONTCHARACTER-related library.
Lephe wrote:
For FONTCHARACTER specifically, there is Cake's repository here: https://forge.touhey.org/casio/fontcharacter.git/

But I don't think libg1m is actually a dependency of p7. The most up-to-date running instructions to build it are on the AUR (https://aur.archlinux.org/packages/p7) (partly because Cake's interest in calculators waned before he could clean up and package everything properly), and if you go to "View PKGBUILD" you will see that there is an archive download and build commands that don't require any FONTCHARACTER-related library.


Makes sense, thanks a lot! Good Idea
You don't need to deal with Protocol 7 for this, the Comm syscalls can communicate directly over USB bulk transfer. This is a good example: https://github.com/Mythologyli/fxKeyboard

If you're using gint, I think that provides its own USB communication functions, though again they should operate over USB bulk transfer rather than Protocol 7 (and gint can currently only communicate from the calculator to the PC, not the other way around)

Also I don't think USB communication will work from within WSL
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement