Re: Compiling a hello world X program

2017-08-11 Thread Ivan "Rambius" Ivanov
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

Re: Compiling a hello world X program

2017-08-11 Thread gary
"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

Compiling a hello world X program

2017-08-11 Thread Ivan "Rambius" Ivanov
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