Build the fontconvert executable
masterTo build the fontconvert tool, you need to modify the makefile located in the fontconvert directory to ensure it points to the correct MinGW and Freetype paths.
- Open the
makefilein thefontconvertfolder with a text editor. - Update the
all,CC,CFLAGS, andLIBSdefinitions to match this configuration:
all: fontconvert
CC = gcc
CFLAGS = -Wall -I c:/mingw/include/freetype2
LIBS = -lfreetype
fontconvert: fontconvert.c
$(CC) $(CFLAGS) $< $(LIBS) -o $@
clean:
rm -f fontconvert- Open the MSYS command prompt.
- Navigate to the
fontconvertdirectory:
cd /c/adafruit_gfx_library\fontconvert- Run the build command:
makeThis will generate fontconvert.exe in the fontconvert directory.
cd /c/adafruit_gfx_library\fontconvert
make