6 ms·
If you are following along with gcc on Linux and continuing to get linker errors even after adding -lfreetype, try passing it as the very last argument, e.g.
by angara 7y ago
If you are following along with gcc on Linux and continuing to get linker errors even after adding -lfreetype, try passing it as the very last argument, e.g.
gcc `pkg-config --cflags freetype2` -Wall -Werror -o main main.c -lfreetype