Hello Gary,
On Fri, Aug 11, 2017 at 4:51 PM, wrote:
> "Ivan \"Rambius\" Ivanov" 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/inc
"Ivan \"Rambius\" Ivanov" 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 dir
Hello,
I am trying to compile a Hello World program for X Window, but it
fails with an error on NetBSD 7.1
xhello.c:2:22: fatal error: X11/Xlib.h: No such file or directory
My program is
#include
#include
int main(int argc, char **argv) {
return 0;
}
My makefile is
$ cat Makefile
.PHONY: c