Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 01:43:57 -0200
From:      "Henry Lenzi" <henry.lenzi@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Newbie request - compiling with Xlib.h
Message-ID:  <8b4c81f0612161943g2cef8374p91445780389e7f88@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?

TIA.
Henry



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