I am using librsvg
in my C files to rasterize SVG, but as soon as I include rsvg.h
, I start to get the following error:
/usr/include/librsvg-2.0/librsvg/rsvg.h:29:25: fatal error: glib-object.h: No such file or directory
Does anyone know why it is happenning and how to get rid of it? I tried including the path of glib headers but then it again starts to report other missing headers.
Is there any other open source library which I can use for rasterizing the SVG in C/C++?