Closed ARolek closed 9 years ago
Sounds like you have an incompatible cairo version. Check if you can find "cairo_pdf_version_t" in the C headers.
I just ran:
grep -rnw /usr/include/cairo/ -e "cairo_pdf_version_t"
the dir /usr/include/cairo/
contains the following files:
/usr/include/cairo/cairo-deprecated.h
/usr/include/cairo/cairo-features.h
/usr/include/cairo/cairo-ft.h
/usr/include/cairo/cairo-pdf.h
/usr/include/cairo/cairo-ps.h
/usr/include/cairo/cairo-svg.h
/usr/include/cairo/cairo-version.h
/usr/include/cairo/cairo-xlib-xrender.h
/usr/include/cairo/cairo-xlib.h
/usr/include/cairo/cairo.h
The output was blank, so the string was not found.
What version of Cairo do these bindings work with?
I am using libcairo2-dev version: 1.13.0~20140204-0ubuntu1.1 which is the standard on Ubuntu 14.10. Seems you have to upgrade from 1.8 to 1.13 or 1.14.
Solution: Update to latest cairo version.
Great. Thanks for the help. Centos6's yum repo is really out of date.
System specs:
when I run go-cairo-example I get the following output: