Hi Wang Rui,

> I'm trying a fresh check out and see what happens.

I still get a link failure due, and this looks to due to
CHECK_CXX_SOURCE_RUNS(..) check in the
src/osgPlugins/pdf/CMakeLists.txt that fails due to poppler.h not
being found, despite the POPPLER_FOUND being set.

Currently our OpenSceneGraph/CMakeLists.txt file uses pkg-config to
find poppler-glib and when I run pkg-config on the command line on my
Kubnutu 10.10 system it reports:

poppler-glib --cflags
Package gdk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gdk-2.0', required by 'poppler-glib', not found

I installed poppler-glib from the standard Ubuntu repository so I can
only guess that there is something broken in set up of the gdk-2.0.pc
file.

Which version of Ubunutu are you using?

At my end I think I'll create a CMakeModules/FindPoppler-glib.cmake
and see how I get on with avoid the use of pkg-config.

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

Reply via email to