freetype
[Top][All Lists]
Advanced

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

[ft] Issue compiling FT 2.4.12 on linux


From: Olivier BARTHELEMY
Subject: [ft] Issue compiling FT 2.4.12 on linux
Date: Wed, 15 May 2013 16:53:29 +0200

Hi,
I'm getting an error while i try to compile freetype on linux (but not on windows)

The first 'visible' error (in base/ftinit.c:245) is that gcc says thet the symbol FT_ERR_PREFIXUnimplemented_feature is undeclared.
It seems ERR_CAT concatenated the FT_ERR_PREFIX without replacing it with it's value.
After some test, it seems that FT_ERR_PREFIX is not defined for some (all?) of the c files in the base subdirectory. I tried including fterrors.h from there, but somehow FT_ERR_PREFIX is not defined by doing this (even though -DFT2_BUILD_LIBRARY is on the compile command). Manuually defining it at the beginning of the c files to nothing correctly does the concatenation but still gives undeclared symbols. Defining it do FT_Err_ seems to allow the compilation of the files.

Is there some config i am not doing to get those errors, or is the linux build not working for v2.4.12?



--
Olivier BARTHELEMY

reply via email to

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