Hi,
SDL_ttf2 is unbuildable with latest Freetype.
Here is a patch from Daniel Schepler -=-=-=-=-=-
— sdl-ttf2.0-2.0.6.old/SDL_ttf.c 2004-01-09 21:13:02.573965462 -0800
+++ sdl-ttf2.0-2.0.6/SDL_ttf.c 2004-01-09 21:11:43.509597069 -0800
@@ -39,10 +39,12 @@
#define FREEA§ free§
#endif
-#include <freetype/freetype.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
-#include <freetype/internal/ftobjs.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_OUTLINE_H
+#include FT_TRUETYPE_IDS_H
+#include FT_INTERNAL_INTERNAL_H
+#include FT_INTERNAL_OBJECTS_H
#include “SDL.h”
#include “SDL_endian.h”
@@ -172,7 +174,7 @@
int err_code;
const char* err_msg;
} ft_errors[] = {
-#include <freetype/fterrors.h>
+#include FT_ERRORS_H
};
int i;
const char *err_msg;
-=-=-=-=-=-
–
J?r?me Marant