This is the mail archive of the
cygwin
mailing list for the Cygwin project.
aplus-fsf (XWarpPointer)
- From: Tom Szczesny <tavmem at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 21 Mar 2012 08:09:10 -0400
- Subject: aplus-fsf (XWarpPointer)
My current stumbling block:
When compiling aplus-fsf-4.22/src/main/aplus_main.c
I get many errors related to X11.
case in point:
undefined reference to '_XWarpPointer' in AGIF.o
aplus-fsf-4.22/src/AplusGUI/AGIF.C
does use XWarpPointer:
static I warpPointer(MSWidgetView *pWidgetView_)
{
if (pWidgetView_!=0 && pWidgetView_->mapped()==MSTrue)
{
XWarpPointer(pWidgetView_->display(),None,pWidgetView_->window(),0,0,0,0,0,0);
return 0;
}
else
{
return -1;
}
}
but AGIF.C also contains the statement #include <X11/Xlib.h> .
include/X11/Xlib.h does appear to define XWarpPointer:
extern int XWarpPointer(
Display* /* display */,
Window /* src_w */,
Window /* dest_w */,
int /* src_x */,
int /* src_y */,
unsigned int /* src_width */,
unsigned int /* src_height */,
int /* dest_x */,
int /* dest_y */
);
Any ideas why _XWarpPointer is considered undefined
when compiling aplus-fsf-4.22/src/main/aplus_main.c ?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple