Re: Gtk (X11) on Embedded Device Query



Hi,

I ported X11 and Gtk with X11 support on Embedded board(arm-linux).
The problem I am facing now is setting the fontconfig. Because I have fontconfig and freetype libraries for X11 and I compiled Gtk with those libraries.

The following error is produced when I tried to run gtkdemo application.

(gtk-demo:1152): Gdk-WARNING **: Error converting from UTF-8 to STRING: Could not open converter from 'UTF-8' to 'ISO-8859-'

(gtk-demo:1152): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-d
Fontconfig warning: line 32: unknown element "cachedir"
Fontconfig warning: line 33: unknown element "cachedir"
Fontconfig error: "conf.d", line 1: no element found

(gtk-demo:1152): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-d

(gtk-demo:1152): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-d

(gtk-demo:1152): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-d
Segmentation fault



What I am doing is correct or not. Pls. suggest some solution for this.

Thanks and Regards,
Saroz


On Nov 30, 2007 5:54 PM, Ross Burton <ross burtonini com> wrote:
On Fri, 2007-11-30 at 17:41 +0530, Saroj Kumar wrote:
> Now I am planning to run gtk+ on X-server. I started hunting for
> X-server and found TinyX.
> Now how to cross-compile X-server? Is there any document on it.
>
> I downloaded X-server from Xfree86 ftp site. Plz. guide me on
> cross-compiling.

The releases on x.org are probably preferable, as they are easier to
build.  I really recommend that you investigate a build system such as
Poky or OpenEmbedded instead of building it all by hand, which is a
*world of pain*.

Ross
--
Ross Burton                                 mail: ross burtonini com
                                         jabber: ross burtonini com
                                    www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF




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