Pycairo C API linker errors

69 views Asked by At

I am trying to include the pycairo C API in a C application.

I include the pycairo header:

#include Pycairo.h

and this is on my include path. But I get a load of linking errors (LNK2019), along the lines of undefined external reference __imp__cairo...

I understand that the __imp__ indicates it is looking for a shared library (rather than static). I have both cairo.dll and _cairo.pyd on my library path. Any ideas what I am missing?

0

There are 0 answers