Last active
September 2, 2021 02:41
-
-
Save filter-eq/a57369e0b27c3b7e51d4f4b5050400f0 to your computer and use it in GitHub Desktop.
gtk4 compile error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cc $(pkg-config --cflags gtk4) -o example-0 example-0.c $(pkg-config --libs gtk4) | |
# error | |
/usr/bin/ld: /opt/gtk/lib/x86_64-linux-gnu/libgtk-4.so: undefined reference to `pango_fc_font_get_languages' | |
collect2: error: ld returned 1 exit status | |
# link libpangofc | |
cc $(pkg-config --cflags gtk4 pangofc) -o example-0 example-0.c $( pkg-config --libs gtk4 pangofc) | |
# compile is completed. but, cannot execute file. | |
# see, | |
# https://gist.github.com/filter-eq/e1e6a4b4a26ca1c6725196001200b77d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment