[Xorg] xcursorgen.c:35:17: png.h: No such file or directory

Alan Coopersmith Alan.Coopersmith at Sun.COM
Sat May 15 10:33:33 PDT 2004


Carl Karsten wrote:
> xpawhelloworld is fixed, now on to the next one....
> xcursorgen.c:35:17: png.h: No such file or directory

You must first install libpng or "#define HasLibpng NO" in
host.def.

If your libpng is not in your systems standard include & library
directories, add to host.def "#define LibpngDir /usr/local" (or
whereever yours is installed).  See xc/config/cf/X11.tmpl for
more options if you need different paths for headers vs libs
or other less common settings.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering





More information about the xorg mailing list