freetype-devel
[Top][All Lists]
Advanced

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

Re: (cross-)building ttdebug for windows


From: Werner LEMBERG
Subject: Re: (cross-)building ttdebug for windows
Date: Sat, 04 Mar 2023 05:57:17 +0000 (UTC)

>  in Makefile, near line 304:
>
> Change
>
>  EXTRAFLAGS = $DUNIX $DHAVE_POSIX_TERMIOS
>
> to
>
>  EXTRAFLAGS =
>
> that's the line which blindly defines "-DUNIX -DHAVE_POSIX_TERMIOS".
> With this simple change, ttdebug cross-builds.

Good catch!

> I guess nobody have tried cross-compiling the freetype demos for
> windows for years, or building all the freetype demos for windows
> natively (i.e., with visual studio) ever - a few of visual studio
> projects are missing.

This is most likely a correct assumption – at least for `Makefile`.
Meson support, on the other hand, also builds `ttdebug`; maybe this
works already out of the box on Windows, too.


     Werner

reply via email to

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