cross compiled GTK + Tinyx(x11) example runs error on target



Title: Mail
Hi,
 
I've cross compiled GTK(v2.10.3)+Tinyx(XFree86-4.6.0) successfully,but a gtk example runs error like followings:
 
[root@(none) /]# /bin/Xfbdev -fp /usr/share/fonts/75dpi -fn -adobe-utopia-bold-i-normal--10-100-75-75-p-58-iso8859-1 -fc  -adobe-times-medium-i-normal--8-80-75-75-p-42-iso8859-1 &
[root@(none) /]# helloworld
(helloworld:62): Gdk-WARNING **: Error converting from UTF-8 to STRING: Could not open converter from 'UTF-8' to 'ISO-
8859-1'
(helloworld:62): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-
8859-1' is not supported
(helloworld:62): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-
8859-1' is not supported
(helloworld:62): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-
8859-1' is not supported
(helloworld:62): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-
8859-1' is not supported
 
first I run Xfbdev (X server) in background, -fp means font path, -fn means font name, -fc means font cursor, font name and font cursor are read from /usr/X11R6/lib/X11/fonts/75dpi/font.dir which is map file. Then run example. 
 
BTW, My cross compiled FLTK2 example based Tinyx runs well on target using above step.
 
 
                           Zhang Long
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]