freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Re: Compilation problem with sample FTDUMP.c on FreeType V2.2


From: MakeAFP TechLine
Subject: [ft-devel] Re: Compilation problem with sample FTDUMP.c on FreeType V2.2.1
Date: Mon, 22 May 2006 11:16:52 +0800

Hi Werner,

Thanks.

But after made the following changes (I also tested with your CVS version):

> @@ -104,7 +104,7 @@
>    void
>    Print_Type( FT_Face  face )
>    {
> -    FT_ModuleRec*  module;
> +    FT_Module  module;

I got following error message with VC 6.0 compiler:

F:\freetype-2.2.1-demo\src\ftdump.c(17) : error C2006: #include expected a
filename, found 'identifier'
F:\freetype-2.2.1-demo\src\ftdump.c(21) : error C2006: #include expected a
filename, found 'identifier'
F:\freetype-2.2.1-demo\src\ftdump.c(22) : error C2006: #include expected a
filename, found 'identifier'
F:\freetype-2.2.1-demo\src\ftdump.c(112) : error C2037: left of 'root'
specifies undefined struct/union 'FT_DriverRec_'
F:\freetype-2.2.1-demo\src\ftdump.c(113) : error C2037: left of 'clazz'
specifies undefined struct/union 'FT_ModuleRec_'
Error executing cl.exe.


Best Regards

Mark


----- Original Message ----- 
From: "Werner LEMBERG" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>
Sent: Monday, May 22, 2006 2:55 AM
Subject: Re: Compilation problem with sample FTDUMP.c on FreeType V2.2.1


>
> > I used your FreeType since V2.0, but I got compilation problem with
> > your latest release V2.2.1, I generated LIBs with VC 6.0 without any
> > problem, but I got following error messages with your demo program
> > FTDUMP:
> >
> > F:\freetype-2.2.1-demo\test\ftdump.c(107) : error C2065:
> >                'FT_ModuleRec' : undeclared identifier
>
> You've found a bug.  Below is a fix which is now in the CVS.  Thanks
> for the report.
>
>
>     Werner
>
>
> ======================================================================
>
>
> --- ftdump.c.old 2006-05-07 06:28:13.000000000 +0200
> +++ ftdump.c 2006-05-21 20:52:53.000000000 +0200
> @@ -104,7 +104,7 @@
>    void
>    Print_Type( FT_Face  face )
>    {
> -    FT_ModuleRec*  module;
> +    FT_Module  module;
>
>
>      printf( "font type entries\n" );





reply via email to

[Prev in Thread] Current Thread [Next in Thread]