Compile QtGstreamer on windows: 'libxml/parser.h',: No such file or directory

Mailing List SVR lists at svrinformatica.it
Mon Nov 14 13:14:26 PST 2011


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




More information about the gstreamer-devel mailing list