kmssink: Fails to compile `drm/drm_mode.h: No such file or directory`
The following discussion from !3303 (merged) should be addressed:
-
@slomo started a discussion: How does this compile for you?
../subprojects/gst-plugins-bad/sys/kms/gstkmssink.h:30:10: fatal error: drm/drm_mode.h: No such file or directory 30 | #include <drm/drm_mode.h> | ^~~~~~~~~~~~~~~~ compilation terminated.
The file exists here as
/usr/include/libdrm/drm_mode.h
and based on the include flags,#include <drm_mode.h
works for me.