[Pixman] trouble with pixman lib

Adam Jackson ajax at redhat.com
Fri Jul 10 14:31:55 UTC 2020

On Wed, Jul 8, 2020 at 8:51 PM Jack <black_jack007 at 163.com> wrote:
> Hello EveryOne
> I am a new guy. While I am trying to build cairo, i use pixman. I build a pixman lib and it seems well. After I add it in cairo project, something is wrong, the wrong information tell it can not find get function port from lib (such as : _pixman_region32_contains_rectangle, _pixman_region32_fini and so on).
> So I put my eye on pixman project and juess what I find ,those functions ( _pixman_region32_contains_rectangle, _pixman_region32_fini and so on) are just declared but with out implementation.

The pixman_region functions are implemented with "C templates", where
pixman-region32.c defines a few macros - PREFIX() in particular - and
then does #include "pixman-region.c" to define the actual functions.
Look for PREFIX(_contains_rectangle), etc.

- ajax

More information about the Pixman mailing list