When trying to compile CVS Wine, I don't have freetype support. The configure script claims that I don't have freetype-dev installed (I do).
configure.log shows the message:
In file included from conftest.c:95: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
This message repeats several times (for several tests).
My system is a Debian Sid, and I have freetype2-dev installed properly.
$On Tue, 18 Nov 2003 18:48:39 +0200, you wrote:
When trying to compile CVS Wine, I don't have freetype support. The configure script claims that I don't have freetype-dev installed (I do).
configure.log shows the message:
In file included from conftest.c:95: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
This message repeats several times (for several tests).
My system is a Debian Sid, and I have freetype2-dev installed properly.
Ack, Sid has libfreetype 2.1.7-1 that is causing this problem.
Rein.
On Tue, 18 Nov 2003 18:48:39 +0200, you wrote:
When trying to compile CVS Wine, I don't have freetype support. The configure script claims that I don't have freetype-dev installed (I do).
configure.log shows the message:
In file included from conftest.c:95: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
This message repeats several times (for several tests).
My system is a Debian Sid, and I have freetype2-dev installed properly.
Attached is a fix that fixes the problem on my system. Needs to run autoconf, perhaps autoheader.
Changelog: . : configure.ac dlls/gdi : freetype.c dlls/wineps : truetype.c
Include ft2build.h before freetype/freetype.h Libfreetype 2.1.7 requires this.
Rein.