nanogui: Re: freetype font


Previous by date: 16 Aug 2001 10:16:57 -0000 Re: X-games, doom, hexen ..., Nikolaj Berntsen
Next by date: 16 Aug 2001 10:16:57 -0000 calibration, victor
Previous in thread: 16 Aug 2001 10:16:57 -0000 Re: freetype font, Gary James
Next in thread: 16 Aug 2001 10:16:57 -0000 freetype font, Zhao Jianwei

Subject: Re: freetype font
From: Girija Deo ####@####.####
Date: 16 Aug 2001 10:16:57 -0000
Message-Id: <3B7B9D66.A179E93C@cirrus.stpp.soft.net>

Hi Gary,

I tried to cross-compile, but facing some problems.
after running 'autoconf' it gives
configure.in:171: warning: AC_TRY_RUN called without default to allow cross compiling.

I checked on web,
http://www.cs.huji.ac.il/support/docs/autobook/autobook_270.html#SEC270
It says, if one gets above mentioned warning, "This tells you that the resulting
`configure' script will not work when building with a cross compiler"
Line 171 of configure.in has  `AC_CHECK_SIZEOF' macro. The document says "which is
generally not very useful when building with a cross compiler"

So, ./configure --target=arm-linux command does not seem to work.
How do I cross-compile freetype-1.3.1 for ARM processor ?

Thanks,
Girija


Gary James wrote:

> Hi Girija,
>
> It looks like you are mixing libraries. Are you cross compiling for
> an ARM processor? The libraries in the /usr/lical/lib directory are
> for runnning FreeType on your host machine. You will need to cross
> compile the FreeType libraries for your target platform and link
> those into your target application. I don't discuss cross compiling
> on my tutorials, they are all targeted to the X11 simulator to get
> people started with nano-X on a common platform.
>
> Gary James
>
> Date sent:              Tue, 14 Aug 2001 14:16:16 +0530
> From:                   Girija Deo ####@####.####
> Organization:           Cirrus Logic Software Pvt. Ltd.
> To:                     ####@####.####
> Subject:                freetype font
>
> > Hello,
> >
> > I have downloaded and installed freetype fonts as directed in the site
> > http://home.twcny.rr.com/embedded/microwin/install/index.html
> >
> > But when I rcompiled microwindows with FREETYPE_SUPPORT = Y and setting proper
> > paths
> > for libs, I got following errors saying "multiple definations".
> > Here is the logfile....
> >
> > /usr/local/lib/libttf.so: In function `Get_Class2':
> > /home/girija/demo/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c:1287:
> > mult
> > iple definition of `_DYNAMIC'
> > /home/girija/armx/arm-linux/lib/libm.so(.dynamic+0x0): first defined here
> > /usr/local/lib/libttf.so: In function `Get_Device':
> > /home/girija/demo/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c(.init+0x0)
> >
> > : multiple definition of `_init'
> > /home/girija/armx/arm-linux/lib/crti.o(.init+0x0): first defined here
> > /usr/local/lib/libttf.so: In function `Get_Class2':
> > /home/girija/demo/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c:1287:
> > mult
> > iple definition of `_fini'
> > /home/girija/armx/arm-linux/lib/crti.o(.fini+0x0): first defined here
> > /usr/local/lib/libttf.so: In function `Get_Class2':
> > /home/girija/demo/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c:1287:
> > mult
> > iple definition of `_GLOBAL_OFFSET_TABLE_'
> > /home/girija/armx/arm-linux/lib/libm.so(.got.plt+0x0): first defined here
> > collect2: ld returned 1 exit status
> > make[2]: *** [/home/girija/demo/microwin/src/bin/nanowm] Error 1
> >
> >
> > What needs to be done ?
> > Thanks,
> > Girija
> >
> >
> > Gary James wrote:
> >
> > > > You are using built in fonts here, and unless a font of size 50 has been
> > > > built in to microwindows, you won't be able to resize to a 50 point
> > > > font. The only way around this is to either use true-type fonts (i
> > > > think), or build in a 50 point times font. A previous post of mine
> > > > describes how to do this - you should be able to find it in the archive.
> > >
> > > Here are some detailed instructions on setting up and using TrueType
> > > fonts in nano-X.
> > >
> > > http://home.twcny.rr.com/embedded/microwin/install/ch3.html
> > >
> > > Gary James
> > > ####@####.####
> > > http://home.twcny.rr.com/embedded/
> > >
> > > >
> > > > Cheers,
> > > > Dunk.
> > > >


Previous by date: 16 Aug 2001 10:16:57 -0000 Re: X-games, doom, hexen ..., Nikolaj Berntsen
Next by date: 16 Aug 2001 10:16:57 -0000 calibration, victor
Previous in thread: 16 Aug 2001 10:16:57 -0000 Re: freetype font, Gary James
Next in thread: 16 Aug 2001 10:16:57 -0000 freetype font, Zhao Jianwei


Powered by ezmlm-browse 0.20.