Skip to contentSkip to conversation

About xawtv

DISCUSSION niamathullah sharief 1 participant 1 message Jan 14, 2009 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

ya micheal......i done that..even though i am getting lost of errors..i attached  the errors as odt format....and i attached your program too....which you told to edit...

--- On Wed, 14/1/09, Michael Williamson <[email protected]> wrote:
From: Michael Williamson <[email protected]>
Subject: Re: About xawtv
To: [email protected]
Date: Wednesday, 14 January, 2009, 7:53 AM

Quoted 3 lines · niamathullah sharief

From: niamathullah sharief <[email protected]>
Subject: Re: About xawtv
To: "Michael Williamson" <[email protected]>,

"Kernel newbies" <[email protected]>, "video4linux list" <[email protected]>

Quoted 8 lines

Date: Tuesday, January 13, 2009, 6:58 PM
I think i  want header file..see the below errors when i used to compile it...sharief@sharief-desktop:~/Desktop/video drivers$ gcc vgrabx.c -Wall -lX11 -o vgrabx vgrabx.c:29:22: error: X11/Xlib.h: No such file or directory
vgrabx.c:30:23: error: X11/Xutil.h: No such file or directory

You are correct. The program needs the header files "Xlib.h" and "Xutil.h".
Normally, they are in the directory "/usr/include/X11". The compiler searches for include files in the directory "/usr/include" automatically.
Note that in the "vgrabx.c" program, the #include statement specifies a
subdirectory "X11" for these header files:

   #include <X11/Xlib.h>
   #include <X11/Xutil.h>

If you try to find them, with

   # find / -name 'Xlib.h'

and they are in directory "/home/sharief", then you need to change the program to say

   # include </home/sharief/Xlib.h>
   # include </home/sharief/Xutil.h>

-Mike

Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list