[Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 26 14:22:27 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99972

Joaquín Montero Salinas <joqmos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED

--- Comment #2 from Joaquín Montero Salinas <joqmos at gmail.com> ---
(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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170226/e731c100/attachment-0001.html>


More information about the dri-devel mailing list