Hi all,<br><br>I&#39;m trying to compile QtGstreamer using VS2008. I already managed to compile Gstreamer, and have everything else is properly installed (ossbuild, qt, boost, byson/flexm automoc, cmake). <br><br>I&#39;ve made a few tests with gst-launch and also succeeded writing a &quot;Hello World&quot; Gstreamer to play audio/videos and everything seems fine.<br>
<br>I&#39;m following the instructions from <a href="http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows">http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows</a><br><br>Looking at the instructions at section &quot;Building QtGStreamer&quot;, after setting the PATH cmake is being configured with:<br>
<br>cmake -G &quot;Visual Studio 9 2008&quot; -DCMAKE_INSTALL_PREFIX=&quot;C:\qt-gstreamer\install&quot; ^<br>-DBOOST_ROOT=&quot;C:\boost_1_45_0&quot;  -DCMAKE_INCLUDE_PATH=&quot;C:\ossbuild\Shared\MSVC\Include;C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2&quot; ^<br>
-DCMAKE_PREFIX_PATH=&quot;C:\ossbuild\Build\Windows\Win32\Release;C:\ossbuild\Shared\Build\Windows\Win32;C:\automoc\install&quot; ..<br><br>This outputs:<br><br>=====================================================================================<br>
-- Check for working C compiler using: Visual Studio 9 2008<br>-- Check for working C compiler using: Visual Studio 9 2008 -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler using: Visual Studio 9 2008<br>
-- Check for working CXX compiler using: Visual Studio 9 2008 -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Looking for Q_WS_X11<br>-- Looking for Q_WS_X11 - not found.<br>
-- Looking for Q_WS_WIN<br>-- Looking for Q_WS_WIN - found<br>-- Looking for Q_WS_QWS<br>-- Looking for Q_WS_QWS - not found.<br>-- Looking for Q_WS_MAC<br>-- Looking for Q_WS_MAC - not found.<br>-- Found Qt-Version 4.7.4 (using C:/Qt/qt-src/qt/bin/qmake.exe)<br>
-- Boost version: 1.45.0<br>-- checking for module &#39;gstreamer-0.10&#39;<br>--   package &#39;gstreamer-0.10&#39; not found<br>-- checking for module &#39;gstreamer-base-0.10&#39;<br>--   package &#39;gstreamer-base-0.10&#39; not found<br>
-- Found GSTREAMER_BASE_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstbase-0.10.lib<br>-- Found GSTREAMER_BASE_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10<br>-- Performing Test GSTREAMER_VERSION_COMPATIBLE<br>
-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success<br>-- Found GStreamer: C:/ossbuild/Build/Windows/Win32/Release/lib/gstreamer-0.10.lib<br>-- checking for module &#39;gstreamer-plugins-base-0.10&#39;<br>--   package &#39;gstreamer-plugins-base-0.10&#39; not found<br>
-- checking for module &#39;gstreamer-app-0.10&#39;<br>--   package &#39;gstreamer-app-0.10&#39; not found<br>-- Found GSTREAMER_APP_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstapp-0.10.lib<br>-- Found GSTREAMER_APP_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10<br>
-- checking for module &#39;gstreamer-interfaces-0.10&#39;<br>--   package &#39;gstreamer-interfaces-0.10&#39; not found<br>-- Found GSTREAMER_INTERFACES_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstinterfaces-0.10.lib<br>
-- Found GSTREAMER_INTERFACES_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10<br>-- checking for module &#39;gstreamer-video-0.10&#39;<br>--   package &#39;gstreamer-video-0.10&#39; not found<br>
-- Found GSTREAMER_VIDEO_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstvideo-0.10.lib<br>-- Found GSTREAMER_VIDEO_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10<br>-- Found GStreamerPluginsBase: TRUE<br>
-- Found GLIB2: C:/ossbuild/Shared/Build/Windows/Win32/lib/glib-2.0.lib<br>-- Found GObject: C:/ossbuild/Shared/Build/Windows/Win32/include/glib-2.0<br>-- Found FLEX: C:/GnuWin32/bin/flex.exe<br>-- Found BISON: C:/GnuWin32/bin/bison.exe<br>
-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)<br><br>-----------------------------------------------------------------------------<br>-- The following external packages were located on your system.<br>-- This installation will have the extra features provided by these packages.<br>
-----------------------------------------------------------------------------<br>   * Qt 4 - Required for building everything<br>   * Boost - Required for building QtGLib<br>   * Automoc 4 - Required for the build system to generate moc files properly<br>
   * GStreamer - Required to build QtGStreamer<br>   * GStreamer base library - Used for building the qwidgetvideosink element<br>   * GStreamer app library - Required to build QtGStreamerUtils<br>   * GStreamer interfaces library - Required to build QtGStreamer<br>
   * GStreamer video library - Used for building the qwidgetvideosink element<br>   * GLib - Required to build QtGLib<br>   * GObject - Required to build QtGLib<br>   * Flex - Required to build codegen, a helper code generator<br>
   * Bison - Required to build codegen, a helper code generator<br><br>-----------------------------------------------------------------------------<br>-- The following OPTIONAL packages could NOT be located on your system.<br>
-- Consider installing them to enable more features from this software.<br>-----------------------------------------------------------------------------<br>   * Doxygen  &lt;<a href="http://www.doxygen.org/">http://www.doxygen.org/</a>&gt;<br>
     Used to generate the API documentation<br><br>-----------------------------------------------------------------------------<br><br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: C:/qt-gstreamer/build<br>
=====================================================================================<br><br><br>I have to use Boost 1.45.0 as suggested by the site because 1.48.0 gave me compiling erros inside Boost. Anyway, if you notice the variable CMAKE_INCLUDE_PATH you&#39;ll see that the include path for libxml2 is also being added. That&#39;s because I&#39;m trying to fix the errors which are all related to:<br>
<br>9&gt;C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(131) : fatal error C1083: Cannot open include file: &#39;libxml/parser.h&#39;: No such file or directory<br><br><br>Now, I know for sure the path &quot;C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml\parser.h&quot; is valid. <br>
<br>I&#39;m not sure how to fix this problem. Hopefully someone can shed a light on this.<br><br>Thanks,<br>--<br>Karl Phillip<br>