Hi Davin,

One should use CMake to set up the paths correctly rather than have to
edit the link.txt, so the fact you needed to do this suggests that
either the required libs were found correctly, or that the
pdf/CMakeLists.txt is missing a search path.

What values does Cmake report for the gdk libs?

Robert.

On Mon, May 4, 2009 at 9:25 PM, Davin <da...@appliomics.com> wrote:
>
> I ran into the same issue on an OpenSuSE 10.2 x86_64 system when working with 
> Stable Release 2.8.0 of osg.  In case it's of help to anyone, I can offer 
> that the following workaround helped me past the problem:
>
> Despite /opt/gnome/lib64 being in my system's ld.so.conf, the link step 
> apparently failed to find libgdk-x11-2.0.so in that directory when attempting 
> to produce osgPlugins-2.8.0/osgdb_pdf.so.  Manually modifying the link.txt 
> file (originally created by the invocation of cmake in the top-level 
> configure script) in the 
> OpenSceneGraph-2.8.0/src/osgPlugins/pdf/CMakeFiles/osgdb_pdf.dir/ directory 
> to insert "-L/opt/gnome/lib64" in front of the references to gdk-x11-2.0 
> manages to get the c++ linker to find the library.  After such modification 
> that file, typing "make" again causes the build to pick up where it left off 
> and run through to successful completion.
>
> Hope this proves helpful.  I have not tried building the 2.8.1-rc3 code 
> that's currently available to see if this issue is reproducible there.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=11316#11316
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to