How to enable the X Render extension?

zhouzy zhouzy at
Tue Oct 18 20:52:23 PDT 2011

I want to install aMule,it depends wxwidgets,gtk2.
My os is rhel5.1,too I need reinstalled the X11R6.9.0-src.tar.bz2.It works now.
But when I built wxwidgets,I got two errors:

[amule at localhost buildgtk]$ make
/home/amule/src/wxWidgets/wxWidgets-2.8.12/buildgtk/bk-deps g++ -c -o coredll_gtk_cursor.o -I./.pch/wxprec_coredll -D__WXGTK__     -DWXBUILDING        -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/amule/src/wxWidgets/wxWidgets-2.8.12/buildgtk/lib/wx/include/gtk2-ansi-release-2.8 -I../include -pthread -I/home/amule/include/gtk-2.0 -I/home/amule/lib/gtk-2.0/include -I/home/amule/include/atk-1.0 -I/home/amule/include/pango-1.0 -I/home/amule/include/glib-2.0 -I/home/amule/lib/glib-2.0/include -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ../src/gtk/cursor.cpp
../src/gtk/cursor.cpp: In constructor ‘wxCursor::wxCursor(const wxImage&)’:
../src/gtk/cursor.cpp:184: error: ‘gdk_display_supports_cursor_color’ was not declared in this scope
../src/gtk/cursor.cpp:198: error: ‘gdk_cursor_new_from_pixbuf’ was not declared in this scope
make: *** [coredll_gtk_cursor.o] Error 1

I search the Internet,
the URL says:

Creates a new cursor from a pixbuf. 
Not all GDK backends support RGBA cursors. If they are not supported, a monochrome approximation will be displayed. The functions gdk_display_supports_cursor_alpha() and gdk_display_supports_cursor_color() can be used to determine whether RGBA cursors are supported; gdk_display_get_default_cursor_size() and gdk_display_get_maximal_cursor_size() give information about cursor sizes. 
On the X backend, support for RGBA cursors requires a sufficently new version of the X Render extension.

It means my X11R6 does not enable the X Render extension.

[amule at localhost X11R6]$ ls lib/modules/extensions

How to enable the X Render extension?

Email:zhouzy at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg mailing list