[cairo] cairomm 1.8.0 problem with RefPtr<>

Murray Cumming murrayc at murrayc.com
Tue Apr 28 12:51:02 PDT 2009


On Tue, 2009-03-24 at 15:42 +0100, sgoericke at vandalay.org wrote:
> #include <cairomm-1.0/cairomm/cairommconfig.h>
> #include <cairomm-1.0/cairomm/context.h>
> #include <cairomm-1.0/cairomm/surface.h>

It might not be related, but this is a sign that you are doing things
wrong. You should be getting your include path from pkg-config. And you
shouldn't need to include cairommconfig.h yourself. So it should be:

#include <cairomm/context.h>
#include <cairomm/surface.h>

Sorry for the late reply. I only noticed this just now.

-- 
murrayc at murrayc.com
www.murrayc.com
www.openismus.com



More information about the cairo mailing list