I want to install aMule,it depends wxwidgets,gtk2.
My os is rhel5.1,too old.so I need reinstalled the X11R6.9.0-src.tar.bz2.It
works now.
But when I built wxwidgets,I got two errors:
[amule@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,
http://www.gtk.org/api/2.6/gdk/gdk-Cursors.html
the URL says:
gdk_cursor_new_from_pixbuf()
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@localhost X11R6]$ ls lib/modules/extensions
libdbe.so libextmod.so libglx.so libxtrap.so
libdri.so libGLcore.so librecord.so
How to enable the X Render extension?
公司/部门:福建亿信达网络科技有限公司/集成部
姓名:周遵义
电话:0591-88520213-801
手机:15080042787
Email:[email protected]
地址:福州市软件大道89号福州软件园D区38号B栋
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: [email protected]