[Qt-interest] Opensuse 11.1 - building Phonon from Qt 4.6.1 source

Thiago Macieira thiago at kde.org
Tue Feb 23 15:50:37 CET 2010


Em Terça-feira 23 Fevereiro 2010, às 13:39:55, Stephen Collyer escreveu:
> On 23 February 2010 12:08, Thiago Macieira <thiago at kde.org> wrote:
> > > 2. Make a link from /usr/include/gst to /usr/include/gstreamer-0.10/gst
> > > 
> > > The Phonon code expects the gstreamer includes to be in
> > > /usr/include/gst but the opensuse packages don't put them there.
> > 
> > No, the code doesn't expect it to be there.
> > 
> > It builds just fine on my machine with the headers in
> > /usr/include/gstreamer-0.10/gst.
> 
> Well, you would know better than I, but without that link, I get the
> following errors:
> 
> GStreamer auto-detection... ()
> g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/linux-g++ -I. -o gstreamer.o
> gstreamer.cpp
> In file included from gstreamer.cpp:42:
> /usr/include/gst/gst.h:27:18: error: glib.h: No such file or directory
> In file included from /usr/include/gst/gst.h:31,
>                  from gstreamer.cpp:42:
> /usr/include/gst/gstenumtypes.h:7:25: error: glib-object.h: No such file or
> directory
> In file included from /usr/include/gst/gstelementfactory.h:33,
>                  from /usr/include/gst/gstelement.h:56,
>                  from /usr/include/gst/gstbin.h:27,
>                  from /usr/include/gst/gst.h:34,

From your output, it looks like you did move GStreamer, but glib is in the 
wrong place.

Can you please run the following command and let us know of the output:

	pkg-config --cflags gstreamer-0.10

Also, tell me where your glib2 and libxml2 includes are located.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100223/22e5773a/attachment.bin 


More information about the Qt-interest-old mailing list