[vlc-devel] xcb : compilation error

Rémi Denis-Courmont remi at remlab.net
Thu Oct 29 12:08:34 CET 2009

On Thu, 29 Oct 2009 11:14:12 +0100, Sébastien Escudier
<sebastien-devel at celeos.eu> wrote:
> I have this error my compiling vlc.
> xcb/events.c: In function ‘HandleMotionNotify’:
> xcb/events.c:62: error: ‘XCB_CURSOR_NONE’ undeclared (first use in this
> function)

Looks like your libxcb is built from a too old xcb-proto package. I do not
know any way to query the xcb-proto version that libxcb is built against.
Checking the libxcb version directly would not fully solve the problem.

In this case, it is probably much simpler to add:

# define XCB_CURSOR_NONE 0

Rémi Denis-Courmont

More information about the vlc-devel mailing list