Skip to contentSkip to conversation

About xawtv

DISCUSSION niamathullah sharief 1 participant 2 messages 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

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
vgrabx.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
vgrabx.c:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X_color’
vgrabx.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X_window’
vgrabx.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X_image’
vgrabx.c: In function ‘main’:
vgrabx.c:70: error: ‘X_display’ undeclared (first use in this function)
vgrabx.c:70: error: (Each undeclared identifier is reported only once
vgrabx.c:70: error: for each function it appears in.)
vgrabx.c:70: warning: implicit declaration of function ‘XOpenDisplay’
vgrabx.c:72: warning: implicit declaration of function ‘XDefaultScreen’
vgrabx.c:77: warning: implicit declaration of function ‘XAllocNamedColor’
vgrabx.c:77: warning: implicit declaration of function ‘DefaultColormap’
vgrabx.c:78: error: ‘X_color’ undeclared (first use in this function)
vgrabx.c:78: error: ‘X_color2’ undeclared (first use in this function)
vgrabx.c:98: error: ‘X_image’ undeclared (first use in this function)
vgrabx.c:101: error: ‘ZPixmap’ undeclared (first use in this function)
vgrabx.c:103: warning: implicit declaration of function ‘XImageByteOrder’
vgrabx.c:104: warning: implicit declaration of function ‘XBitmapUnit’
vgrabx.c:105: warning: implicit declaration of function ‘XBitmapBitOrder’
vgrabx.c:106: warning: implicit declaration of function ‘XBitmapPad’
vgrabx.c:107: warning: implicit declaration of function ‘XDefaultDepth’
vgrabx.c:116: warning: implicit declaration of function ‘XInitImage’
vgrabx.c:118: error: ‘X_window’ undeclared (first use in this function)
vgrabx.c:118: warning: implicit declaration of function ‘XCreateSimpleWindow’
vgrabx.c:118: warning: implicit declaration of function ‘XDefaultRootWindow’
vgrabx.c:120: warning: implicit declaration of function ‘XMapWindow’
vgrabx.c:459: warning: implicit declaration of function ‘XPutImage’
vgrabx.c:459: warning: implicit declaration of function ‘XDefaultGC’
vgrabx.c:475: warning: implicit declaration of function ‘XDestroyWindow’
vgrabx.c:476: warning: implicit declaration of function ‘XFreeColors’
vgrabx.c:481: warning: implicit declaration of function ‘XCloseDisplay’
sharief@sharief-desktop:~/Desktop/video drivers$

--- On Tue, 13/1/09, Michael Williamson <[email protected]> wrote:
From: Michael Williamson <[email protected]>
Subject: Re: About xawtv
To: [email protected]
Date: Tuesday, 13 January, 2009, 10:49 PM

Quoted 3 lines · niamathullah sharief

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

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

Quoted 9 lines

Date: Tuesday, January 13, 2009, 2:50 AM
ya ok micheal..i am ready to install SDL library...but is the xawtv software is using this SDL library to display the captured pictures..?i think no....then how it is displaying..?I think this vgrab.c requires this SDL library....do you have any other program to display the captured pictures continuously as video without using this SDL library...?sorry if i asked any wrong question....Thanks a lot micheal....

I have used the 'X11' library for picture display. The attached program is an example. Compile it with:

   # gcc vgrabx.c -Wall -lX11 -o vgrabx

-Mike

Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
In reply to a message not in the archive

yes i copied all the things micheal...Alright now and now i get the below things...but i cant understand what it is....root@sharief-desktop:/home/sharief/Desktop/vidrivers# gcc vgrabx.c -Wall -lX11 -o vgrabx /usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
root@sharief-desktop:/home/sharief/Desktop/vidrivers#

--- On Tue, 13/1/09, Michael Williamson <[email protected]> wrote:
From: Michael Williamson <[email protected]>
Subject: Re: About xawtv
To: [email protected]
Date: Tuesday, 13 January, 2009, 10:49 PM

Quoted 3 lines · niamathullah sharief

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

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

Quoted 9 lines

Date: Tuesday, January 13, 2009, 2:50 AM
ya ok micheal..i am ready to install SDL library...but is the xawtv software is using this SDL library to display the captured pictures..?i think no....then how it is displaying..?I think this vgrab.c requires this SDL library....do you have any other program to display the captured pictures continuously as video without using this SDL library...?sorry if i asked any wrong question....Thanks a lot micheal....

I have used the 'X11' library for picture display. The attached program is an example. Compile it with:

   # gcc vgrabx.c -Wall -lX11 -o vgrabx

-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