[Image-SIG] Re: Problem building PIL with freetype

Fredrik Lundh fredrik at pythonware.com
Thu Jun 19 00:42:23 EDT 2003


"howard at eegsoftware.com" wrote:

> When I try building PIL with FREETYPEDIR pointing to the source directories, I get
> the following error:
>
>    Creating library build\temp.win32-2.2\Release\_imagingft.lib and object build
> \temp.win32-2.2\Release\_imagingft.exp
> ftinit.obj : error LNK2001: unresolved external symbol _pfr_driver_class
> ftinit.obj : error LNK2001: unresolved external symbol _t42_driver_class
> ftinit.obj : error LNK2001: unresolved external symbol _pshinter_module_class
> ftinit.obj : error LNK2001: unresolved external symbol _bdf_driver_class
> ftinit.obj : error LNK2001: unresolved external symbol _pcf_driver_class
> build\lib.win32-2.2\_imagingft.pyd : fatal error LNK1120: 5 unresolved externals
>
> error: command '"D:\Microsoft Visual Studio\VC98\BIN\link.exe"' failed with exit
>  status 1120

I'm not sure I've tested the setup.py file with that version of freetype.

try comparing the file list in the setup.py file with the list of source files
in the freetype distribution, and add what's missing.

</F>






More information about the Image-SIG mailing list