Hi Wang Rui,

I was hoping that it'd be quite straight forward to set up the
required FindPopper-glib.cmake but my inititial attempt resulted in
finding poppler headers but the poppller headers themselves failing
due to a dependency on gtk headers.  I've rebooting into my older
system and tested pkg-config for poppler and got:

> pkg-config poppler-glib --cflags
-D_REENTRANT -I/usr/include/poppler/glib -I/usr/include/poppler
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12

> pkg-config poppler-glib --libs
-lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0
-lgio-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0

Which is no ordinary list of includes and dependencies.  This makes me
rather discouraged about the potential of going with our own find
scripts.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to