张建锋 | 31 Aug 2010 04:05
Picon

why "undefined reference to `XISelectEvents'"

 when I 'gcc' the program,there is a error:

 "undefined reference to `XISelectEvents'"

what can I do ?

thanks a lot!
booiiing | 31 Aug 2010 11:40
Picon
Gravatar

Re: why "undefined reference to `XISelectEvents'"

hi,

2010/8/31 张建锋 <zjf.ha2010 <at> gmail.com>:
>  when I 'gcc' the program,there is a error:
what program?

>  "undefined reference to `XISelectEvents'"
did you "#include <X11/extensions/XInput2.h>"?

> what can I do ?
try the include above and also remember to install the required
libraries and headers. for further information please refer to the
existing documentation.

regards,
patric
_______________________________________________
xevie mailing list
xevie <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xevie

Gmane