On Thu, 10 Jun 2004, Sachin Shah wrote:
> I had written following code,
> int Major, Minor ;
> Display * LocalDpy = localDisplay ();
> Display * RecDpy = localDisplay ();
> int LocalScreen = DefaultScreen ( LocalDpy );
> if ( ! XRecordQueryVersion (localDisplay (), &Major, &Minor ) )
> {
> QMessageBox::information(0,"Error","XRecord extension not supported on
> server", QMessageBox::Ok );
> }
> I got error :
> "undefined reference to `XRecordQueryVersion' "
> I had checked include file.. it's extern function..
> So, for this extension, any more compiler option is required ???
"-lXrender" might be a good idea...
Marc.
+----------------------------------+-----------------------------------+
| Marc Aurele La France | work: 1-780-492-9310 |
| Computing and Network Services | fax: 1-780-492-1729 |
| 352 General Services Building | email: [EMAIL PROTECTED] |
| University of Alberta +-----------------------------------+
| Edmonton, Alberta | |
| T6G 2H1 | Standard disclaimers apply |
| CANADA | |
+----------------------------------+-----------------------------------+
XFree86 developer and VP. ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86