I have #included <xcb/xcb.h>
and <xcb/xcb_util.h>
and linked with -lxcb
but I still get an
undefined reference to 'xcb_event_get_label'
I can see the function exists in the header file, and the error indicates a linker error, but what other libraries do I need to link against?
Linking with -lxcb-util
did the trick as mentioned by Marcus Müller