Newbie request - compiling with Xlib.h
Florent Thoumie
flz at xbsd.org
Sun Dec 17 05:43:44 PST 2006
Henry Lenzi wrote:
> Hi *
>
> I'm trying to follow the following tutorial for Xlib prpogramming:
>
> http://users.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-programming.html#preface
>
>
> However, I can't seem to compile the simple-drawing.c example. I keep
> getting
>
>
>> cc simple-drawing.c -o simple-drawing -L/usr/X11/lib -lX11
> simple-drawing.c:7:22: X11/Xlib.h: No such file or directory
>
> or
>
>> cc simple-drawing.c -o simple-drawing -lX11
> simple-drawing.c:7:22: X11/Xlib.h: No such file or directory
>
> What's the right incantation for this?
XCB is the new way to go:
http://xcb.freedesktop.org/wiki/
Cheers.
--
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061217/8dcf5dae/signature.pgp
More information about the freebsd-hackers
mailing list