Adafruit-GFX-Library
Adafruit-GFX-Library copied to clipboard
Prebuild fontconvert
i did tried build fontconvert and still no luck (freetype2 also not detected) there is any precomplied binary (fontconvert,exe) that can used instead build by self (since building took too much my data plan and very slow because my country speed (only 25KB/s) for downloading tools (took 1GB of my data plan only for complied this)
$ make
gcc -Wall -I c:/mingw/include/freetype2 fontconvert.c -lfreetype -o fontconvert
/usr/lib/gcc/x86_64-pc-msys/13.2.0/../../../../x86_64-pc-msys/bin/ld: cannot find -lfreetype: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:8: fontconvert] Error 1
Refer this link.
https://cadhut.com/2020/08/02/how-to-set-up-and-use-msys2/#:~:text=MSys2%20is%20a%20system%20that%20gives%20you%203,using%2064-bit%20tools%2C%20you%20launch%20this%20shell.%20
and run this command as well. pacman -S mingw-w64-x86_64-freetype
I know you're in an unusual situation. I've privately rewritten fontconvert in Python, which might be useful for you.
https://github.com/adafruit/Adafruit-GFX-Library/pull/371
So you don't have to actually compile any C code to run a fontconvert.