NetBSD-Users archive

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

Re: Compiling a hello world X program



Hello Gary,

On Fri, Aug 11, 2017 at 4:51 PM,  <gary%duzan.org@localhost> wrote:
> "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.
That was the problem. Thank you very much!

rambius



-- 
Tangra Mega Rock: http://www.radiotangra.com


Home | Main Index | Thread Index | Old Index