Originally Posted by
marcel
Could you look where FT_New_MemoRy_Face is implemented? Maybe it is conditionally defined...And you need to add that preprocessor definition.
Or on Win, you have to include something that on Linux gets included automatically. These things often hapen.
FT_New_Memory_Face is defined in freetype.h as:
FT_EXPORT( FT_Error )
FT_New_Memory_Face( FT_Library library,
const FT_Byte* file_base,
FT_Long file_size,
FT_Long face_index,
FT_Face *aface );
FT_EXPORT( FT_Error )
FT_New_Memory_Face( FT_Library library,
const FT_Byte* file_base,
FT_Long file_size,
FT_Long face_index,
FT_Face *aface );
To copy to clipboard, switch view to plain text mode
My source file has defined:
#include <ft2build.h>
#include FT_FREETYPE_H
#include <ft2build.h>
#include FT_FREETYPE_H
To copy to clipboard, switch view to plain text mode
which the freetype.h file says needs to be included. I am really unsure what else would need to be included under windows since all the documentation only says to include these two things.
Bookmarks