NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiling a hello world X program



"Ivan \"Rambius\" Ivanov" <rambiusparkisanius%gmail.com@localhost> wrote:
=> Hello,
=>
=> I am trying to compile a Hello World program for X Window, but it
=> fails with an error on NetBSD 7.1
=>
=> [...]
=>
=> Full error is
=>
=> $ make
=> cc -I/usr/x11R7/include -c xhello.c
=> xhello.c:2:22: fatal error: X11/Xlib.h: No such file or directory
=>  #include <X11/Xlib.h>
=>                       ^
=> compilation terminated.
=> *** Error code 1

   I believe you want X11R7, not x11R7.

                          Gary Duzan





Home | Main Index | Thread Index | Old Index