Summary: | xf86drm.h:40:17: error: drm.h: No such file or directory | ||
---|---|---|---|
Product: | DRI | Reporter: | Joaquín Montero Salinas <joqmos> |
Component: | libdrm | Assignee: | Default DRI bug account <dri-devel> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Joaquín Montero Salinas
2017-02-26 13:36:10 UTC
Me again ... There is some contradiction in your statement - "drm.h" doesn't exist. "drm.h" does exist in X :-P But seriously, sounds like want to read-up on pkg-config [1]. In a nut-shell: gcc `pkg-config --cflags --libs libdrm` foo.c bar.c -o binary [1] https://people.freedesktop.org/~dbn/pkg-config-guide.html (In reply to Emil Velikov from comment #1) > Me again ... > > There is some contradiction in your statement - "drm.h" doesn't exist. > "drm.h" does exist in X :-P > > But seriously, sounds like want to read-up on pkg-config [1]. > > In a nut-shell: gcc `pkg-config --cflags --libs libdrm` foo.c bar.c -o binary > > > [1] https://people.freedesktop.org/~dbn/pkg-config-guide.html Me again... Totally forgot about pkg-config, thought I could get away with just tacking a -ldrm at the end of my compilation line. Sorry for wasting your time, again :-P |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.