Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 13:43:23 +0000
From:      Florent Thoumie <flz@xbsd.org>
To:        Henry Lenzi <henry.lenzi@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Newbie request - compiling with Xlib.h
Message-ID:  <4585497B.6060502@xbsd.org>
In-Reply-To: <8b4c81f0612161943g2cef8374p91445780389e7f88@mail.gmail.com>
References:  <8b4c81f0612161943g2cef8374p91445780389e7f88@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig16BD1B5420D2372BC8216AF8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Henry Lenzi wrote:
> Hi *
>=20
> I'm trying to follow the following tutorial for Xlib prpogramming:
>=20
> http://users.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-pr=
ogramming.html#preface
>=20
>=20
> However, I can't seem to compile the simple-drawing.c example. I keep
> getting
>=20
>=20
>> 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
>=20
> or
>=20
>> cc simple-drawing.c -o simple-drawing -lX11
> simple-drawing.c:7:22: X11/Xlib.h: No such file or directory
>=20
> What's the right incantation for this?

XCB is the new way to go:

http://xcb.freedesktop.org/wiki/

Cheers.

--=20
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer


--------------enig16BD1B5420D2372BC8216AF8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhUmDMxEkbVFH3PQRAvBIAJ9ow0po3EjP3lswfe91ZQ/bmK5XZQCfa1FW
I0SNeseeOEuiKg7UvJNzn44=
=Olsy
-----END PGP SIGNATURE-----

--------------enig16BD1B5420D2372BC8216AF8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4585497B.6060502>