nanogui: Thread: Problem in building Microwindows


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Problem in building Microwindows
From: animesh ####@####.####
Date: 7 Aug 2007 19:34:35 +0100
Message-Id: <46B8BB1C.2010101@gmail.com>

Hi,

I have downloaded the following tar.gz file
1) microwindows-src-0.91.tar.gz

and the followed the following steps.
1) tar -xzvf microwindows-src-0.91.tar.gz
2) cd /microwindows-0.91/src
3) cp Configs/config.x11 config as mentioned in the INSTALL file.
4) Changed the following line in the config file
####################################################################
179 # Support for many kinds of font thru FreeType 2.x
180 # Must also set FREETYPE_FONT_DIR in the Freetype 1.x section
181 ####################################################################
182 HAVE_FREETYPE_2_SUPPORT = Y
183 INCFT2LIB = /usr/local/include/freetype2
184 LIBFT2LIB = /usr/local/lib/libfreetype.so
185 #FREETYPE_FONT_DIR = "fonts/truetype"

I tried with uncommenting the line #FREETYPE_FONT_DIR but Still i am 
getting the following error, Can anyone tell what i am doing wrong and 
what correction i should do.

Compiling engine/font_freetype2.c ...
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function ‘freetype2_createfont_internal’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:618: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:619: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:620: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:668: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function ‘freetype2_setfontsize’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:815: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:816: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function ‘freetype2_getfontinfo’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1044: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function ‘freetype2_drawtext’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1152: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function ‘freetype2_gettextsize_rotated’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1393: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function ‘freetype2_gettextsize_fast’:
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1529: 
error: ‘FTC_ImageTypeRec’ has no member named ‘font’
make[1]: *** 
[/home/abhay/utility_download/microwindows/microwindows-0.91/src/obj/engine/font_freetype2.o] 
Error 1
make: *** 
[subdir-/home/abhay/utility_download/microwindows/microwindows-0.91/src/mwin] 
Error 2


Regards
Animesh Bhadra


Subject: Re: [nanogui] Problem in building Microwindows
From: "Uwe Klatt" ####@####.####
Date: 8 Aug 2007 06:10:36 +0100
Message-Id: <000e01c7d97a$72fe62a0$080814ac@arnstein.miwe.de>

animesh wrote:

> I have downloaded the following tar.gz file
> 1) microwindows-src-0.91.tar.gz
>..
> error: ‘FTC_ImageTypeRec’ has no member named ‘font’

Good morning,

your FT-version is to new ;-)
Try version 2.1.3

Bye
Uwe

Subject: Re: [nanogui] Problem in building Microwindows
From: "Kernel Mojo" ####@####.####
Date: 9 Aug 2007 10:22:27 +0100
Message-Id: <1c1bf1150708090222xb393f89gaf3feb21985ddfaf@mail.gmail.com>

Apply patch font_freetype2.

On 8/8/07, Uwe Klatt ####@####.#### wrote:
>
> animesh wrote:
>
> > I have downloaded the following tar.gz file
> > 1) microwindows-src-0.91.tar.gz
> >..
> > error: 'FTC_ImageTypeRec' has no member named 'font'
>
> Good morning,
>
> your FT-version is to new ;-)
> Try version 2.1.3
>
> Bye
> Uwe
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>
Subject: RE: [nanogui] Problem in building Microwindows
From: "Animesh Kumar Bhadra" ####@####.####
Date: 9 Aug 2007 10:25:43 +0100
Message-Id: <01f401c7da66$cbdbaf80$3b00a8c0@canon.telxsi.com>

Pardon Me,

I am new to Linux And Microwindos, Can you please Tell me how to apply these
Patch "font_freetype2"

Regards,
Animesh Kumar Bhadra,
        +91-9880868571
        +80-22979935


-----Original Message-----
From: Kernel Mojo ####@####.####
Sent: Thursday, August 09, 2007 2:52 PM
To: Uwe Klatt
Cc: animesh; ####@####.####
Subject: Re: [nanogui] Problem in building Microwindows


Apply patch font_freetype2.

On 8/8/07, Uwe Klatt ####@####.#### wrote:
>
> animesh wrote:
>
> > I have downloaded the following tar.gz file
> > 1) microwindows-src-0.91.tar.gz
> >..
> > error: 'FTC_ImageTypeRec' has no member named 'font'
>
> Good morning,
>
> your FT-version is to new ;-)
> Try version 2.1.3
>
> Bye
> Uwe
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

Contact your Administrator for further information.
Subject: Re: [nanogui] Problem in building Microwindows
From: animesh ####@####.####
Date: 9 Aug 2007 19:34:42 +0100
Message-Id: <46BB5E1D.1070803@gmail.com>

I have Downloaded the patch for font_freetype2. and used the freetype 
version freetype-2.1.10.tar.gz,
But I am still getting the same problem, The error message are mentioned 
below,
Can any please give me the exact version and the procedure to build 
microwindows...

Thanks in Advance......


Compiling engine/font_freetype2.c ...
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function 'freetype2_createfont_internal':
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:618: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:619: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:620: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:667: 
warning: implicit declaration of function 'FTC_Manager_Lookup_Size'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:668: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function 'freetype2_setfontsize':
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:815: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:816: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function 'freetype2_getfontinfo':
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1044: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function 'freetype2_drawtext':
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1152: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function 'freetype2_gettextsize_rotated':
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1393: 
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c: 
In function 'freetype2_gettextsize_fast':
/home/abhay/utility_download/microwindows/microwindows-0.91/src/engine/font_freetype2.c:1529: 
error: 'FTC_ImageTypeRec' has no member named 'font'
make[1]: *** 
[/home/abhay/utility_download/microwindows/microwindows-0.91/src/obj/engine/font_freetype2.o] 
Error 1
make: *** 
[subdir-/home/abhay/utility_download/microwindows/microwindows-0.91/src/mwin] 
Error 2



Kernel Mojo wrote:
> Apply patch font_freetype2.
>
> On 8/8/07, *Uwe Klatt* ####@####.#### ####@####.#### wrote:
>
>     animesh wrote:
>
>     > I have downloaded the following tar.gz file
>     > 1) microwindows-src-0.91.tar.gz
>     >..
>     > error: 'FTC_ImageTypeRec' has no member named 'font'
>
>     Good morning,
>
>     your FT-version is to new ;-)
>     Try version 2.1.3
>
>     Bye
>     Uwe
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: ####@####.####
>     ####@####.####
>     For additional commands, e-mail: ####@####.####
>     ####@####.####
>
>

Subject: Problem in building Microwindows
From: wyang ####@####.####
Date: 16 May 2012 06:01:30 -0000
Message-Id: <4FB344C6.2050609@freescale.com>

Hi all

Could anyone see the below error messages about microwindows 0.91
building? Or could anyone help to see it and give me some feedback.

Error messages:

/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
function 'freetype2_createfont_internal':
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:618:15:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:619:15:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:620:15:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:668:21:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
function 'freetype2_setfontsize':
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:815:15:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:816:15:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
function 'freetype2_getfontinfo':
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1044:21:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
function 'freetype2_drawtext':
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1152:21:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
function 'freetype2_gettextsize_rotated':
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1393:21:
error: 'FTC_ImageTypeRec' has no member named 'font'
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
function 'freetype2_gettextsize_fast':
/home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1529:21:
error: 'FTC_ImageTypeRec' has no member named 'font'


thanks a lot
B.R
richce





Subject: Re: [nanogui] Problem in building Microwindows
From: Greg Haerr ####@####.####
Date: 2 Jun 2012 17:54:17 -0000
Message-Id: <4110372C-CEEB-48B0-8D6C-902FC627BB04@censoft.com>

The problem below is that your version of Freetype is not
matching the version number set in engine/font_freetype2.c.
I would suggest upgrading to a later version of freetype.

Regards,

Greg



On May 16, 2012, at 12:10 AM, wyang wrote:

> Hi all
> 
> Could anyone see the below error messages about microwindows 0.91
> building? Or could anyone help to see it and give me some feedback.
> 
> Error messages:
> 
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
> function 'freetype2_createfont_internal':
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:618:15:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:619:15:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:620:15:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:668:21:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
> function 'freetype2_setfontsize':
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:815:15:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:816:15:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
> function 'freetype2_getfontinfo':
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1044:21:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
> function 'freetype2_drawtext':
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1152:21:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
> function 'freetype2_gettextsize_rotated':
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1393:21:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
> function 'freetype2_gettextsize_fast':
> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1529:21:
> error: 'FTC_ImageTypeRec' has no member named 'font'
> 
> 
> thanks a lot
> B.R
> richce
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 

Subject: Re: [nanogui] Problem in building Microwindows
From: wyang ####@####.####
Date: 4 Jun 2012 01:41:02 -0000
Message-Id: <4FCC153A.6040509@freescale.com>

ok, I will try, thanks a lot.


> The problem below is that your version of Freetype is not
> matching the version number set in engine/font_freetype2.c.
> I would suggest upgrading to a later version of freetype.
>
> Regards,
>
> Greg
>
>
>
> On May 16, 2012, at 12:10 AM, wyang wrote:
>
>   
>> Hi all
>>
>> Could anyone see the below error messages about microwindows 0.91
>> building? Or could anyone help to see it and give me some feedback.
>>
>> Error messages:
>>
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
>> function 'freetype2_createfont_internal':
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:618:15:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:619:15:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:620:15:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:668:21:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
>> function 'freetype2_setfontsize':
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:815:15:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:816:15:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
>> function 'freetype2_getfontinfo':
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1044:21:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
>> function 'freetype2_drawtext':
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1152:21:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
>> function 'freetype2_gettextsize_rotated':
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1393:21:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c: In
>> function 'freetype2_gettextsize_fast':
>> /home/test/rpm/BUILD/microwindows-0.91/src/engine/font_freetype2.c:1529:21:
>> error: 'FTC_ImageTypeRec' has no member named 'font'
>>
>>
>> thanks a lot
>> B.R
>> richce
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ####@####.####
>> For additional commands, e-mail: ####@####.####
>>
>>
>>     
>
>
>   


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.