Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Robert Osfield
Hi Melchoir, Which version of Poppler do you have on your system? When I run pkg-config: pkg-config poppler-glib --modversion 0.6 pkg-config poppler-glib --libs -lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Melchior FRANZ
* Robert Osfield -- Thursday 13 November 2008: pkg-config poppler-glib --modversion 0.6 $ pkg-config poppler-glib --modversion 0.10.0 pkg-config poppler-glib --libs -lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Melchior FRANZ
[undefined reference to `gdk_pixbuf_new_from_data'] osgpdf is the only osg app that isn't linked correctly with LDFLAGS=-Wl,--as-needed. That's apparently globally on on some systems like Gentoo, and also on my non-Gentoo system. The problem is usually that libraries/objects aren't listed in the

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Melchior FRANZ
* Melchior FRANZ -- Thursday 13 November 2008: I couldn't yet figure out how to get the full gcc command line.) OK, I figured it out. Will investigate ... m. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Robert Osfield
Hi Melchoir, On Thu, Nov 13, 2008 at 9:31 AM, Melchior FRANZ [EMAIL PROTECTED] wrote: $ pkg-config poppler-glib --libs -L/usr/local/lib -lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 Hmm, so it should pick

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Tomlinson, Gordon
To: OpenSceneGraph Users Subject: [osg-users] Introducing osgpdf Another day, another curious example... osgpdf ;-) In a similar vain to my work on adding vnc support that I did last week, the volume rendering project also has a need for viewing pdf documents as a way of mixing presentation text

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jeremy Moles
On Wed, 2008-11-12 at 15:10 +, Robert Osfield wrote: Another day, another curious example... osgpdf ;-) In a similar vain to my work on adding vnc support that I did last week, the volume rendering project also has a need for viewing pdf documents as a way of mixing presentation

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Robert Osfield
Hi Jeremy, On Wed, Nov 12, 2008 at 3:41 PM, Jeremy Moles [EMAIL PROTECTED] wrote: Your implementation of the CairoImage class is probably right on track with the simplest, cleanest way of supporting a Cairo surface to draw on. CairoImage is just an experiment so far. I went for the absolute

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jeremy Moles
On Wed, 2008-11-12 at 16:02 +, Robert Osfield wrote: Hi Jeremy, On Wed, Nov 12, 2008 at 3:41 PM, Jeremy Moles [EMAIL PROTECTED] wrote: Your implementation of the CairoImage class is probably right on track with the simplest, cleanest way of supporting a Cairo surface to draw on.

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Gerrick Bivins
Is poppler GLP'd? Gerrick On 11/12/08 9:10 AM, Robert Osfield [EMAIL PROTECTED] wrote: Another day, another curious example... osgpdf ;-) In a similar vain to my work on adding vnc support that I did last week, the volume rendering project also has a need for viewing pdf documents as a

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Gerrick Bivins
I meant: Is poppler GPL'd as in it's license. ;) Gerrick On 11/12/08 10:31 AM, Gerrick Bivins [EMAIL PROTECTED] wrote: Is poppler GLP'd? Gerrick On 11/12/08 9:10 AM, Robert Osfield [EMAIL PROTECTED] wrote: Another day, another curious example... osgpdf ;-) In a similar vain to my

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jean-Sébastien Guay
Hi again, If you get things working under Windows or OSX could you please write in with what you had to do to get things installed. I'm working on it. I've got Cairo from the gtk+-bundle: http://www.gtk.org/download-windows.html Not sure about Poppler. It seems to only be available as

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jeremy Moles
On Wed, 2008-11-12 at 16:32 +, Robert Osfield wrote: Hi Jeremy, On Wed, Nov 12, 2008 at 4:21 PM, Jeremy Moles [EMAIL PROTECTED] wrote: Well, in OpenGL there are to main formats I envision many of us wanting to use: - ARGB32 (GL_RGBA) - A8 (GL_ALPHA) A8 is really

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Melchior FRANZ
* Jean-Sébastien Guay -- Wednesday 12 November 2008: One thing, I think you need to move the test for Poppler from the examples/osgpdf/CMakeLists.txt to the base CMakeLists.txt, otherwise POPPLER_FOUND can never be true when adding the osgpdf example in examples/CMakeLists.txt (or at least,

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Robert Osfield
Hi J-S, On Wed, Nov 12, 2008 at 5:43 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: One thing, I think you need to move the test for Poppler from the examples/osgpdf/CMakeLists.txt to the base CMakeLists.txt, otherwise POPPLER_FOUND can never be true when adding the osgpdf example in

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Melchior FRANZ
* Robert Osfield -- Wednesday 12 November 2008: fix to Poppler check now checked in. Now cmake tries to compile osgpdf, and fails: /usr/local/lib/libpoppler-glib.so: undefined reference to `gdk_pixbuf_new_from_data' /usr/local/lib/libpoppler-glib.so: undefined reference to