Program can't find Xlib.h, no matter what, during compilation

Alan Coopersmith alan.coopersmith at oracle.com
Tue Sep 1 02:19:43 UTC 2020


On 8/31/20 7:07 PM, alexandre schenberg wrote:
> -I/media/34GB/Arquivos-de-Programas-Linux/xorg/X11-1.6.7/include/:/media/34GB/Arquivos-de-Programas-Linux/xorg/Xproto-7.0.17/include/

I don't believe : separated paths work here, you need separate -I flags.

With software from the past decade, you'll have much better luck putting
the paths for Xproto & Xlib in your PKG_CONFIG_PATH and ignoring the
ancient and mostly unused --x-includes and --x-libraries paths.

-- 
	-Alan Coopersmith-               alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - https://blogs.oracle.com/alanc


More information about the xorg mailing list