Discussion:
Cannot compile latest snapshot
Mathias Brodala
2006-08-15 17:41:26 UTC
Permalink
Hello.

Today I did checkout the latest CVS snapshot of WineX and tried to compile it. But I got
no luck. Neither with gcc-4.x nor with gcc-3.x can I compile it. Using the latter I get
freetype.c:3394: error: `TT_Face' undeclared (first use in this function)
freetype.c:3394: error: (Each undeclared identifier is reported only once
freetype.c:3394: error: for each function it appears in.)
freetype.c:3394: error: syntax error before "tt_face"
freetype.c:3395: error: `SFNT_Interface' undeclared (first use in this function)
freetype.c:3395: error: `sfnt' undeclared (first use in this function)
freetype.c:3424: error: `tt_face' undeclared (first use in this function)
freetype.c:3424: error: syntax error before "ft_face"
freetype.c:3425: error: syntax error before ')' token
What should I do?


Regards, Mathias
Matt Busigin
2006-08-15 20:45:26 UTC
Permalink
Post by Mathias Brodala
Hello.
Today I did checkout the latest CVS snapshot of WineX and tried to compile
it. But I got no luck. Neither with gcc-4.x nor with gcc-3.x can I compile
it. Using the latter I get
freetype.c:3394: error: `TT_Face' undeclared (first use in this function)
freetype.c:3394: error: (Each undeclared identifier is reported only once
freetype.c:3394: error: for each function it appears in.)
freetype.c:3394: error: syntax error before "tt_face"
freetype.c:3395: error: `SFNT_Interface' undeclared (first use in this
function) freetype.c:3395: error: `sfnt' undeclared (first use in this
function) freetype.c:3424: error: `tt_face' undeclared (first use in this
function) freetype.c:3424: error: syntax error before "ft_face"
freetype.c:3425: error: syntax error before ')' token
What should I do?
Regards, Mathias
Mathias,

TT_Face is defined in freetype's tttypes.h file -- it sounds like you don't
have the freetype development packages installed. On Debian based
systems, it's called libfreetype6-dev.


Regards,
Matt
Ove Kaaven
2006-08-16 04:43:52 UTC
Permalink
Post by Matt Busigin
TT_Face is defined in freetype's tttypes.h file -- it sounds like you don't
have the freetype development packages installed. On Debian based
systems, it's called libfreetype6-dev.
Not if you've upgraded to freetype 2.2.1, apparently... those headers
are deprecated and removed. I wrote a patch to make it compile anyway a
while ago, but it's not put into public CVS yet, I think.
Mathias Brodala
2006-08-15 21:00:39 UTC
Permalink
Hello Matt.
Post by Matt Busigin
TT_Face is defined in freetype's tttypes.h file -- it sounds like you don't
have the freetype development packages installed. On Debian based
systems, it's called libfreetype6-dev.
This package is already installed and the file resides under the following path:

/usr/include/freetype2/freetype/fttypes.h

(I hope „tttypes.h“ was just a typo …)


Regards, Mathias
Ove Kaaven
2006-08-18 06:47:47 UTC
Permalink
Post by Mathias Brodala
Hello Matt.
Post by Matt Busigin
TT_Face is defined in freetype's tttypes.h file -- it sounds like you don't
have the freetype development packages installed. On Debian based
systems, it's called libfreetype6-dev.
/usr/include/freetype2/freetype/fttypes.h
(I hope „tttypes.h“ was just a typo …)
It's not.

/usr/include/freetype2/freetype/internal/tttypes.h

I guess I'll merge out the patch for this shortly (though I don't think
the CVS will be all that useful anyway, since it doesn't at all
represent the Cedega that TransGaming is actually selling - the secret
sauce, such as DX9 support, is not in public CVS)
Mathias Brodala
2006-08-18 10:03:08 UTC
Permalink
Hello Ove.
Post by Ove Kaaven
Post by Mathias Brodala
(I hope „tttypes.h“ was just a typo …)
It's not.
/usr/include/freetype2/freetype/internal/tttypes.h
AFAIS this file doesn’t exist on my system.
Post by Ove Kaaven
I guess I'll merge out the patch for this shortly (though I don't think
the CVS will be all that useful anyway, since it doesn't at all
represent the Cedega that TransGaming is actually selling - the secret
sauce, such as DX9 support, is not in public CVS)
At the moment I’m actually only interested into getting it compiled for the compiling’s
sake. What I wanted to accomplish have I already been able to thanks to the pure WINE.
(Get some old PC games up and running, of course.)


Regards, Mathias

Continue reading on narkive:
Loading...