Subject: Re: compiling simple X program
To: None <netbsd-help@netbsd.org>
From: Nathan Langford <njl@EastCoastEmail.com>
List: netbsd-help
Date: 07/18/2002 07:24:42
--- Martin Weber <Ephaeton@gmx.net> wrote:
>On Wed, Jul 17, 2002 at 03:06:40PM -0700, Nathan Langford wrote:
>> Hi,
>> 
>> I'm trying to experiment with writing C for X.  I found a simple 
>> program that just creates a window and then closes it, but the 
>> include <X11/Xlib.h> line generates the error:
>> 
>> "X11/Xlib.h: No such file or directory"
>
>3) try with the following: cc -o <binaryname> <sourcefile> -I/usr/X11R6/include -L/usr/X11R6/lib -lX11
>
That worked for compiling without errors, but running it
spits out: "missing libX11.so.6".  I thought the -L... would
fix that.

Thanks again.
-Nathan

_____________________________________________________________
Do you live on the East Coast?
http://www.EastCoastEmail.com

100s of FREE email addresses --->
http://www.UltimateEmail.com

_____________________________________________________________
Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net  http://www.everyone.net/?btn=tag