[cairo] Building Cairo with only Image and PNG surfaces

Mars Depp mars.depp at gmail.com
Wed Nov 25 18:23:31 PST 2009


I don't know if you have turn on the switch of WIN32 backend.
Have a try, add "#define CAIRO_HAS_WIN32_SURFACE 1 " to "cairo-features.h",
which included by "cairo.h".
Good luck~


On Thu, Nov 26, 2009 at 12:47 AM, Mohit Sindhwani <ml3p at onghu.com> wrote:

> Hi Guys
>
> Is it possible to build Cairo as a Windows DLL only with the image and
> PNG surfaces?  Following a recent recommendation (and an earlier one) to
> just use the image surface for all drawing and then blitting the result
> to the screen, I thought it would be best to build a DLL based on just
> the image and PNG surfaces - especially since my target is Windows CE
> and it's painful getting everything to build for it.
>
> However, I get errors from cairo-system saying that it is being compiled
> with no support for a WIN32 backend.
>
> I'm trying to use Visual Studio 2005.
>
> Thanks,
> Mohit.
> 11/26/2009 | 12:47 AM.
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20091126/12c7278e/attachment.html 


More information about the cairo mailing list