Hi,
I'm trying to compile QtGstreamer on windows following the wiki: http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows all is fine until I compile QtGstreamer itself, here is the output from the cmake configuration: ----------------------------------------------------------------------------- -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. ----------------------------------------------------------------------------- * Qt 4 - Required for building everything * Boost - Required for building QtGLib * Automoc 4 - Required for the build system to generate moc files properly * GStreamer - Required to build QtGStreamer * GStreamer base library - Used for building the qwidgetvideosink element * GStreamer app library - Required to build QtGStreamerUtils * GStreamer interfaces library - Required to build QtGStreamer * GStreamer video library - Used for building the qwidgetvideosink element * GLib - Required to build QtGLib * GObject - Required to build QtGLib ----------------------------------------------------------------------------- -- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. ----------------------------------------------------------------------------- * Doxygen <http://www.doxygen.org/> Used to generate the API documentation ----------------------------------------------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: C:/qt-gstreamer/build seems good only doxygen is missing but when I do: cmake --build . after a short while I get these include errors: Microsoft (R) Visual C++ Express Edition versione 9.0.30729.1. Copyright (C) Microsoft Corp 2007. Tutti i diritti riservati. ------ Inizio compilazione: Progetto: QtGLib_automoc, Configurazione: Debug Win3 2 ------ Generating connect.moc Il log di compilazione è stato salvato in 'file://c:\qt-gstreamer\build\src\QGli b\QtGLib_automoc.dir\Debug\BuildLog.htm' QtGLib_automoc - 0 errore/i, 0 avviso/i ------ Inizio compilazione: Progetto: QtGLib, Configurazione: Debug Win32 ------ Copying gen.cpp to the build directory Compilazione in corso... gen.cpp init.cpp wrap.cpp connect.cpp error.cpp signal.cpp value.cpp object.cpp paramspec.cpp type.cpp quark.cpp QtGLib_automoc.cpp Generazione del codice in corso... Compilazione del manifesto nelle risorse in corso... Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 Copyright (C) Microsoft Corporation. All rights reserved. Collegamento in corso... Creazione della libreria C:\qt-gstreamer\build\src\QGlib\Debug\QtGLib-2.0.lib e dell'oggetto C:\qt-gstreamer\build\src\QGlib\Debug\QtGLib-2.0.exp in corso... Incorporamento del manifesto in corso... Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 Copyright (C) Microsoft Corporation. All rights reserved. Il log di compilazione è stato salvato in 'file://c:\qt-gstreamer\build\src\QGli b\QtGLib.dir\Debug\BuildLog.htm' QtGLib - 0 errore/i, 0 avviso/i ------ Inizio compilazione: Progetto: QtGStreamer_automoc, Configurazione: Debug Win32 ------ Il log di compilazione è stato salvato in 'file://c:\qt-gstreamer\build\src\QGst \QtGStreamer_automoc.dir\Debug\BuildLog.htm' QtGStreamer_automoc - 0 errore/i, 0 avviso/i ------ Inizio compilazione: Progetto: QtGStreamerUtils_automoc, Configurazione: Debug Win32 ------ Il log di compilazione è stato salvato in 'file://c:\qt-gstreamer\build\src\QGst \QtGStreamerUtils_automoc.dir\Debug\BuildLog.htm' QtGStreamerUtils_automoc - 0 errore/i, 0 avviso/i ------ Inizio compilazione: Progetto: QtGStreamer, Configurazione: Debug Win32 - ----- Copying gen.cpp to the build directory Compilazione in corso... gen.cpp C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 31) : fatal error C1083: Impossibile aprire il file inclusione 'libxml/parser.h' : No such file or directory bufferlist.cpp C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 31) : fatal error C1083: Impossibile aprire il file inclusione 'libxml/parser.h' : No such file or directory taglist.cpp C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 31) : fatal error C1083: Impossibile aprire il file inclusione 'libxml/parser.h' : No such file or directory the libxml include files are in the following directory: C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml I tryed to add "C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2" to both INCLUDE env var and to CMAKE_INCLUDE_PATH with no success, any hints? thanks Nicola _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Mon, Nov 14, 2011 at 11:14 PM, Mailing List SVR
<[hidden email]> wrote: > ----- > Copying gen.cpp to the build directory > Compilazione in corso... > gen.cpp > C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 > 31) : fatal error C1083: Impossibile aprire il file inclusione > 'libxml/parser.h' > : No such file or directory > bufferlist.cpp > C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 > 31) : fatal error C1083: Impossibile aprire il file inclusione > 'libxml/parser.h' > : No such file or directory > taglist.cpp > C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 > 31) : fatal error C1083: Impossibile aprire il file inclusione > 'libxml/parser.h' > : No such file or directory > > the libxml include files are in the following directory: > > C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml > > I tryed to add "C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2" to > both INCLUDE env var and to CMAKE_INCLUDE_PATH with no success, > > any hints? You must be using some old version of GStreamer, or at least an old version of gstconfig.h (I think ossbuild mixes them up a bit, not sure why). QtGStreamer makes no use of the deprecated XML APIs of GStreamer and is compiled with -DGST_DISABLE_XML -DGST_DISABLE_LOADSAVE, which effectively turn off the inclusion of libxml headers and remove this extra dependency on libxml. The relevant section in gst/gstconfig.h, in recent versions of GStreamer reads: 198 #ifndef GST_DISABLE_XML 199 #ifndef GST_DISABLE_DEPRECATED 200 # include <libxml/parser.h> 201 #endif 202 #else 203 /* FIXME: 0.11 (replace by GST_DISABLE_XML) */ 204 # define GST_DISABLE_LOADSAVE_REGISTRY 205 #endif So, make sure your copy of GStreamer and/or gstconfig.h is up-to-date and try again. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Il 14/11/2011 22:51, George Kiagiadakis ha scritto:
> On Mon, Nov 14, 2011 at 11:14 PM, Mailing List SVR > <[hidden email]> wrote: >> ----- >> Copying gen.cpp to the build directory >> Compilazione in corso... >> gen.cpp >> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >> 31) : fatal error C1083: Impossibile aprire il file inclusione >> 'libxml/parser.h' >> : No such file or directory >> bufferlist.cpp >> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >> 31) : fatal error C1083: Impossibile aprire il file inclusione >> 'libxml/parser.h' >> : No such file or directory >> taglist.cpp >> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >> 31) : fatal error C1083: Impossibile aprire il file inclusione >> 'libxml/parser.h' >> : No such file or directory >> >> the libxml include files are in the following directory: >> >> C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml >> >> I tryed to add "C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2" to >> both INCLUDE env var and to CMAKE_INCLUDE_PATH with no success, >> >> any hints? > You must be using some old version of GStreamer, or at least an old > version of gstconfig.h (I think ossbuild mixes them up a bit, not sure > why). QtGStreamer makes no use of the deprecated XML APIs of GStreamer > and is compiled with -DGST_DISABLE_XML -DGST_DISABLE_LOADSAVE, which > effectively turn off the inclusion of libxml headers and remove this > extra dependency on libxml. The relevant section in gst/gstconfig.h, > in recent versions of GStreamer reads: > > 198 #ifndef GST_DISABLE_XML > 199 #ifndef GST_DISABLE_DEPRECATED > 200 # include<libxml/parser.h> > 201 #endif > 202 #else > 203 /* FIXME: 0.11 (replace by GST_DISABLE_XML) */ > 204 # define GST_DISABLE_LOADSAVE_REGISTRY > 205 #endif > > So, make sure your copy of GStreamer and/or gstconfig.h is up-to-date > and try again. > Thanks! I updated gstconfig.h and QtGstreamer compiled fine, Nicola _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by George Kiagiadakis
George,
I spoken too quick, I tryed the player sample, it start but when I try to load a file I get this error: 0:00:07.661545000 1884 003E4BE0 ERROR basesrc gstbasesrc.c:302 2:gst_base_src_activate_pull:<source> Failed to start in pull mode "Could not open resource for reading." using: gst-launch playbin2 -v uri=file:///C:\\a.avi the file is played just fine, what's wrong? Nicola Il 14/11/2011 22:51, George Kiagiadakis ha scritto: > On Mon, Nov 14, 2011 at 11:14 PM, Mailing List SVR > <[hidden email]> wrote: >> ----- >> Copying gen.cpp to the build directory >> Compilazione in corso... >> gen.cpp >> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >> 31) : fatal error C1083: Impossibile aprire il file inclusione >> 'libxml/parser.h' >> : No such file or directory >> bufferlist.cpp >> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >> 31) : fatal error C1083: Impossibile aprire il file inclusione >> 'libxml/parser.h' >> : No such file or directory >> taglist.cpp >> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >> 31) : fatal error C1083: Impossibile aprire il file inclusione >> 'libxml/parser.h' >> : No such file or directory >> >> the libxml include files are in the following directory: >> >> C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml >> >> I tryed to add "C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2" to >> both INCLUDE env var and to CMAKE_INCLUDE_PATH with no success, >> >> any hints? > You must be using some old version of GStreamer, or at least an old > version of gstconfig.h (I think ossbuild mixes them up a bit, not sure > why). QtGStreamer makes no use of the deprecated XML APIs of GStreamer > and is compiled with -DGST_DISABLE_XML -DGST_DISABLE_LOADSAVE, which > effectively turn off the inclusion of libxml headers and remove this > extra dependency on libxml. The relevant section in gst/gstconfig.h, > in recent versions of GStreamer reads: > > 198 #ifndef GST_DISABLE_XML > 199 #ifndef GST_DISABLE_DEPRECATED > 200 # include<libxml/parser.h> > 201 #endif > 202 #else > 203 /* FIXME: 0.11 (replace by GST_DISABLE_XML) */ > 204 # define GST_DISABLE_LOADSAVE_REGISTRY > 205 #endif > > So, make sure your copy of GStreamer and/or gstconfig.h is up-to-date > and try again. > _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Solved via IRC is a small bug in player example on windows,
thanks Nicola Il 14/11/2011 23:21, Mailing List SVR ha scritto: > George, > > I spoken too quick, I tryed the player sample, it start but when I try > to load a file I get this error: > > 0:00:07.661545000 1884 003E4BE0 ERROR basesrc > gstbasesrc.c:302 > 2:gst_base_src_activate_pull:<source> Failed to start in pull mode > "Could not open resource for reading." > > using: > > gst-launch playbin2 -v uri=file:///C:\\a.avi > > the file is played just fine, > > what's wrong? > > Nicola > > Il 14/11/2011 22:51, George Kiagiadakis ha scritto: >> On Mon, Nov 14, 2011 at 11:14 PM, Mailing List SVR >> <[hidden email]> wrote: >>> ----- >>> Copying gen.cpp to the build directory >>> Compilazione in corso... >>> gen.cpp >>> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >>> >>> 31) : fatal error C1083: Impossibile aprire il file inclusione >>> 'libxml/parser.h' >>> : No such file or directory >>> bufferlist.cpp >>> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >>> >>> 31) : fatal error C1083: Impossibile aprire il file inclusione >>> 'libxml/parser.h' >>> : No such file or directory >>> taglist.cpp >>> C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(1 >>> >>> 31) : fatal error C1083: Impossibile aprire il file inclusione >>> 'libxml/parser.h' >>> : No such file or directory >>> >>> the libxml include files are in the following directory: >>> >>> C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml >>> >>> I tryed to add >>> "C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2" to >>> both INCLUDE env var and to CMAKE_INCLUDE_PATH with no success, >>> >>> any hints? >> You must be using some old version of GStreamer, or at least an old >> version of gstconfig.h (I think ossbuild mixes them up a bit, not sure >> why). QtGStreamer makes no use of the deprecated XML APIs of GStreamer >> and is compiled with -DGST_DISABLE_XML -DGST_DISABLE_LOADSAVE, which >> effectively turn off the inclusion of libxml headers and remove this >> extra dependency on libxml. The relevant section in gst/gstconfig.h, >> in recent versions of GStreamer reads: >> >> 198 #ifndef GST_DISABLE_XML >> 199 #ifndef GST_DISABLE_DEPRECATED >> 200 # include<libxml/parser.h> >> 201 #endif >> 202 #else >> 203 /* FIXME: 0.11 (replace by GST_DISABLE_XML) */ >> 204 # define GST_DISABLE_LOADSAVE_REGISTRY >> 205 #endif >> >> So, make sure your copy of GStreamer and/or gstconfig.h is up-to-date >> and try again. >> > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |