Christopher Armstrong wrote:

I don't know what the changes are in freetype.h, but the changes I made are as follows:

/* #include "freetype/freetype.h" */
#include <ft2build.h>
#include FT_FREETYPE_H

in soyapyrex.c. That is, the commented out #include is what you already had, and I inserted the two following lines (as per the #error messages' suggestion).

Obviously the real fix needs to go into freetype.pxd, but I don't know how macros interoperate with pyrex.

I would imagine the best solution here would be to either use inline C in Pyrex (assuming Pyrex supports that; I don't have the docs in front of me) or to write a .h file that imports the freetype stuff, and include that from the Pyrex code.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to