What packages to I need to install to compile X-Windows code with g++/gcc ? I tried to compile a X-Windows "hello world" type of program with g++ and got the error:
fatal error: X11/Xlib.h: No such file or directory
so I assume some sort of package has to be installed to do this. Thanks for any information!
---------- Post added at 03:46 PM ---------- Previous post was at 11:26 AM ----------
Ok , I think I figured this out. After some intensive google research I found I needed to install a package called libX11-devel ( yum install libX11-devel , for those that need to do the same thing ). The program then compiles with the terminal command: g++ hello.cpp -L /usr/lib/X11 -lX11. I'm pretty surprised how easy it is to map a window in Linux ( I remember having a harder time doing this with MS Windows )!