Error compiling QtGstreamer for Windows XP with VS2008

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Error compiling QtGstreamer for Windows XP with VS2008

Karl Phillip
 Hi all,

I'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).

I've made a few tests with gst-launch and also succeeded writing a "Hello World" Gstreamer to play audio/videos and everything seems fine.

I'm following the instructions from http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows

Looking at the instructions at section "Building QtGStreamer", after setting the PATH cmake is being configured with:

cmake -G "Visual Studio 9 2008" -DCMAKE_INSTALL_PREFIX="C:\qt-gstreamer\install" ^
-DBOOST_ROOT="C:\boost_1_45_0"  -DCMAKE_INCLUDE_PATH="C:\ossbuild\Shared\MSVC\Include;C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2" ^
-DCMAKE_PREFIX_PATH="C:\ossbuild\Build\Windows\Win32\Release;C:\ossbuild\Shared\Build\Windows\Win32;C:\automoc\install" ..

This outputs:

=====================================================================================
-- Check for working C compiler using: Visual Studio 9 2008
-- Check for working C compiler using: Visual Studio 9 2008 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 9 2008
-- Check for working CXX compiler using: Visual Studio 9 2008 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.4 (using C:/Qt/qt-src/qt/bin/qmake.exe)
-- Boost version: 1.45.0
-- checking for module 'gstreamer-0.10'
--   package 'gstreamer-0.10' not found
-- checking for module 'gstreamer-base-0.10'
--   package 'gstreamer-base-0.10' not found
-- Found GSTREAMER_BASE_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstbase-0.10.lib
-- Found GSTREAMER_BASE_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- Performing Test GSTREAMER_VERSION_COMPATIBLE
-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success
-- Found GStreamer: C:/ossbuild/Build/Windows/Win32/Release/lib/gstreamer-0.10.lib
-- checking for module 'gstreamer-plugins-base-0.10'
--   package 'gstreamer-plugins-base-0.10' not found
-- checking for module 'gstreamer-app-0.10'
--   package 'gstreamer-app-0.10' not found
-- Found GSTREAMER_APP_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstapp-0.10.lib
-- Found GSTREAMER_APP_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- checking for module 'gstreamer-interfaces-0.10'
--   package 'gstreamer-interfaces-0.10' not found
-- Found GSTREAMER_INTERFACES_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstinterfaces-0.10.lib
-- Found GSTREAMER_INTERFACES_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- checking for module 'gstreamer-video-0.10'
--   package 'gstreamer-video-0.10' not found
-- Found GSTREAMER_VIDEO_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstvideo-0.10.lib
-- Found GSTREAMER_VIDEO_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- Found GStreamerPluginsBase: TRUE
-- Found GLIB2: C:/ossbuild/Shared/Build/Windows/Win32/lib/glib-2.0.lib
-- Found GObject: C:/ossbuild/Shared/Build/Windows/Win32/include/glib-2.0
-- Found FLEX: C:/GnuWin32/bin/flex.exe
-- Found BISON: C:/GnuWin32/bin/bison.exe
-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)

-----------------------------------------------------------------------------
-- 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
   * Flex - Required to build codegen, a helper code generator
   * Bison - Required to build codegen, a helper code generator

-----------------------------------------------------------------------------
-- 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
=====================================================================================


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'll see that the include path for libxml2 is also being added. That's because I'm trying to fix the errors which are all related to:

9>C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(131) : fatal error C1083: Cannot open include file: 'libxml/parser.h': No such file or directory


Now, I know for sure the path "C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml\parser.h" is valid.

I'm not sure how to fix this problem. Hopefully someone can shed a light on this.

Thanks,
--
Karl Phillip

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

Mailing List SVR
Il 16/12/2011 18:56, Karl Phillip ha scritto:
 Hi all,

I'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).

I've made a few tests with gst-launch and also succeeded writing a "Hello World" Gstreamer to play audio/videos and everything seems fine.

I'm following the instructions from http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows

Looking at the instructions at section "Building QtGStreamer", after setting the PATH cmake is being configured with:

cmake -G "Visual Studio 9 2008" -DCMAKE_INSTALL_PREFIX="C:\qt-gstreamer\install" ^
-DBOOST_ROOT="C:\boost_1_45_0"  -DCMAKE_INCLUDE_PATH="C:\ossbuild\Shared\MSVC\Include;C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2" ^
-DCMAKE_PREFIX_PATH="C:\ossbuild\Build\Windows\Win32\Release;C:\ossbuild\Shared\Build\Windows\Win32;C:\automoc\install" ..

This outputs:

=====================================================================================
-- Check for working C compiler using: Visual Studio 9 2008
-- Check for working C compiler using: Visual Studio 9 2008 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 9 2008
-- Check for working CXX compiler using: Visual Studio 9 2008 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.4 (using C:/Qt/qt-src/qt/bin/qmake.exe)
-- Boost version: 1.45.0
-- checking for module 'gstreamer-0.10'
--   package 'gstreamer-0.10' not found
-- checking for module 'gstreamer-base-0.10'
--   package 'gstreamer-base-0.10' not found
-- Found GSTREAMER_BASE_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstbase-0.10.lib
-- Found GSTREAMER_BASE_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- Performing Test GSTREAMER_VERSION_COMPATIBLE
-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success
-- Found GStreamer: C:/ossbuild/Build/Windows/Win32/Release/lib/gstreamer-0.10.lib
-- checking for module 'gstreamer-plugins-base-0.10'
--   package 'gstreamer-plugins-base-0.10' not found
-- checking for module 'gstreamer-app-0.10'
--   package 'gstreamer-app-0.10' not found
-- Found GSTREAMER_APP_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstapp-0.10.lib
-- Found GSTREAMER_APP_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- checking for module 'gstreamer-interfaces-0.10'
--   package 'gstreamer-interfaces-0.10' not found
-- Found GSTREAMER_INTERFACES_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstinterfaces-0.10.lib
-- Found GSTREAMER_INTERFACES_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- checking for module 'gstreamer-video-0.10'
--   package 'gstreamer-video-0.10' not found
-- Found GSTREAMER_VIDEO_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstvideo-0.10.lib
-- Found GSTREAMER_VIDEO_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- Found GStreamerPluginsBase: TRUE
-- Found GLIB2: C:/ossbuild/Shared/Build/Windows/Win32/lib/glib-2.0.lib
-- Found GObject: C:/ossbuild/Shared/Build/Windows/Win32/include/glib-2.0
-- Found FLEX: C:/GnuWin32/bin/flex.exe
-- Found BISON: C:/GnuWin32/bin/bison.exe
-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)

-----------------------------------------------------------------------------
-- 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
   * Flex - Required to build codegen, a helper code generator
   * Bison - Required to build codegen, a helper code generator

-----------------------------------------------------------------------------
-- 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
=====================================================================================


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'll see that the include path for libxml2 is also being added. That's because I'm trying to fix the errors which are all related to:

9>C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(131) : fatal error C1083: Cannot open include file: 'libxml/parser.h': No such file or directory


Now, I know for sure the path "C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml\parser.h" is valid.

remove the reference to libxml from gstconfig.h, comment out line 131, qtgstreamer not need libxml,

Nicola


I'm not sure how to fix this problem. Hopefully someone can shed a light on this.

Thanks,
--
Karl Phillip


_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

Karl Phillip
Actually, QtGstreamer is not referencing libxml directly.

The error happens because QtGstreamer is using gstreamer, which in turn is using libxml. So QtGstreamer finds gstreamer but not libxml headers.

I can't modify gstconfig.h since it belongs to gstreamer. There must be a way to tell QtGstreamer where to look for libxml. It's a shame that it is ignoring my request in CMAKE_INCLUDE_PATH.

[]'s
--
Karl Phillip



On Fri, Dec 16, 2011 at 5:54 PM, Mailing List SVR <[hidden email]> wrote:
Il 16/12/2011 18:56, Karl Phillip ha scritto:
 Hi all,

I'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).

I've made a few tests with gst-launch and also succeeded writing a "Hello World" Gstreamer to play audio/videos and everything seems fine.

I'm following the instructions from http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows

Looking at the instructions at section "Building QtGStreamer", after setting the PATH cmake is being configured with:

cmake -G "Visual Studio 9 2008" -DCMAKE_INSTALL_PREFIX="C:\qt-gstreamer\install" ^
-DBOOST_ROOT="C:\boost_1_45_0"  -DCMAKE_INCLUDE_PATH="C:\ossbuild\Shared\MSVC\Include;C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2" ^
-DCMAKE_PREFIX_PATH="C:\ossbuild\Build\Windows\Win32\Release;C:\ossbuild\Shared\Build\Windows\Win32;C:\automoc\install" ..

This outputs:

=====================================================================================
-- Check for working C compiler using: Visual Studio 9 2008
-- Check for working C compiler using: Visual Studio 9 2008 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 9 2008
-- Check for working CXX compiler using: Visual Studio 9 2008 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.4 (using C:/Qt/qt-src/qt/bin/qmake.exe)
-- Boost version: 1.45.0
-- checking for module 'gstreamer-0.10'
--   package 'gstreamer-0.10' not found
-- checking for module 'gstreamer-base-0.10'
--   package 'gstreamer-base-0.10' not found
-- Found GSTREAMER_BASE_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstbase-0.10.lib
-- Found GSTREAMER_BASE_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- Performing Test GSTREAMER_VERSION_COMPATIBLE
-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success
-- Found GStreamer: C:/ossbuild/Build/Windows/Win32/Release/lib/gstreamer-0.10.lib
-- checking for module 'gstreamer-plugins-base-0.10'
--   package 'gstreamer-plugins-base-0.10' not found
-- checking for module 'gstreamer-app-0.10'
--   package 'gstreamer-app-0.10' not found
-- Found GSTREAMER_APP_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstapp-0.10.lib
-- Found GSTREAMER_APP_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- checking for module 'gstreamer-interfaces-0.10'
--   package 'gstreamer-interfaces-0.10' not found
-- Found GSTREAMER_INTERFACES_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstinterfaces-0.10.lib
-- Found GSTREAMER_INTERFACES_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- checking for module 'gstreamer-video-0.10'
--   package 'gstreamer-video-0.10' not found
-- Found GSTREAMER_VIDEO_LIBRARY: C:/ossbuild/Build/Windows/Win32/Release/lib/gstvideo-0.10.lib
-- Found GSTREAMER_VIDEO_INCLUDE_DIR: C:/ossbuild/Build/Windows/Win32/Release/include/gstreamer-0.10
-- Found GStreamerPluginsBase: TRUE
-- Found GLIB2: C:/ossbuild/Shared/Build/Windows/Win32/lib/glib-2.0.lib
-- Found GObject: C:/ossbuild/Shared/Build/Windows/Win32/include/glib-2.0
-- Found FLEX: C:/GnuWin32/bin/flex.exe
-- Found BISON: C:/GnuWin32/bin/bison.exe
-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)

-----------------------------------------------------------------------------
-- 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
   * Flex - Required to build codegen, a helper code generator
   * Bison - Required to build codegen, a helper code generator

-----------------------------------------------------------------------------
-- 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
=====================================================================================


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'll see that the include path for libxml2 is also being added. That's because I'm trying to fix the errors which are all related to:

9>C:\ossbuild\Build\Windows\Win32\Release\include\gstreamer-0.10\gst/gstconfig.h(131) : fatal error C1083: Cannot open include file: 'libxml/parser.h': No such file or directory


Now, I know for sure the path "C:\ossbuild\Shared\Build\Windows\Win32\include\libxml2\libxml\parser.h" is valid.

remove the reference to libxml from gstconfig.h, comment out line 131, qtgstreamer not need libxml,

Nicola


I'm not sure how to fix this problem. Hopefully someone can shed a light on this.

Thanks,
--
Karl Phillip


_______________________________________________
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



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

George Kiagiadakis
On Fri, Dec 16, 2011 at 10:17 PM, Karl Phillip <[hidden email]> wrote:
> Actually, QtGstreamer is not referencing libxml directly.
>
> The error happens because QtGstreamer is using gstreamer, which in turn is
> using libxml. So QtGstreamer finds gstreamer but not libxml headers.
>
> I can't modify gstconfig.h since it belongs to gstreamer. There must be a
> way to tell QtGstreamer where to look for libxml. It's a shame that it is
> ignoring my request in CMAKE_INCLUDE_PATH.

No, you have to remove it from gstconfig.h. It's a bug in the
gstconfig.h shipped with ossbuild. The QtGStreamer build system was
based on the assumption that it is built on top of GStreamer >=
0.10.31 which  has an updated gstconfig.h that doesn't require libxml.

Fyi, CMAKE_INCLUDE_PATH is not added to the compiler command line. It
is used as a hint for find_file() cmake calls. If you really really
want to fix this in QtGStreamer instead of just updating your
gstconfig.h, you need to add a FindLibXml2.cmake file, use
find_package(LibXml2) in the top level CMakeLists.txt and add the
found include path in the compiler include path with the
include_directories() call.

Regards,
George
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

Karl Phillip
Fantastic!

Thank you all.



On 16/12/2011, at 22:30, George Kiagiadakis <[hidden email]> wrote:

> On Fri, Dec 16, 2011 at 10:17 PM, Karl Phillip <[hidden email]> wrote:
>> Actually, QtGstreamer is not referencing libxml directly.
>>
>> The error happens because QtGstreamer is using gstreamer, which in turn is
>> using libxml. So QtGstreamer finds gstreamer but not libxml headers.
>>
>> I can't modify gstconfig.h since it belongs to gstreamer. There must be a
>> way to tell QtGstreamer where to look for libxml. It's a shame that it is
>> ignoring my request in CMAKE_INCLUDE_PATH.
>
> No, you have to remove it from gstconfig.h. It's a bug in the
> gstconfig.h shipped with ossbuild. The QtGStreamer build system was
> based on the assumption that it is built on top of GStreamer >=
> 0.10.31 which  has an updated gstconfig.h that doesn't require libxml.
>
> Fyi, CMAKE_INCLUDE_PATH is not added to the compiler command line. It
> is used as a hint for find_file() cmake calls. If you really really
> want to fix this in QtGStreamer instead of just updating your
> gstconfig.h, you need to add a FindLibXml2.cmake file, use
> find_package(LibXml2) in the top level CMakeLists.txt and add the
> found include path in the compiler include path with the
> include_directories() call.
>
> Regards,
> George
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

Karl Phillip
Before we close this thread permanently, I need one last help from you guys.

After successfully building Qt-Gstreamer on Windows I noticed that examples/player doesn't work right out of the box. Upon execution I get an error saying "Failed to start in pull mode", "Could not open resource for reading", "No URI set".

I found a thread on the mailing list from last month where a user had reported this issue but he forgot to mention how to do the fix:
http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html

So, how can I fix this issue?

Thank you all
--
Karl Phillip

On Fri, Dec 16, 2011 at 11:02 PM, Maxphil <[hidden email]> wrote:
Fantastic!

Thank you all.



On 16/12/2011, at 22:30, George Kiagiadakis <[hidden email]> wrote:

> On Fri, Dec 16, 2011 at 10:17 PM, Karl Phillip <[hidden email]> wrote:
>> Actually, QtGstreamer is not referencing libxml directly.
>>
>> The error happens because QtGstreamer is using gstreamer, which in turn is
>> using libxml. So QtGstreamer finds gstreamer but not libxml headers.
>>
>> I can't modify gstconfig.h since it belongs to gstreamer. There must be a
>> way to tell QtGstreamer where to look for libxml. It's a shame that it is
>> ignoring my request in CMAKE_INCLUDE_PATH.
>
> No, you have to remove it from gstconfig.h. It's a bug in the
> gstconfig.h shipped with ossbuild. The QtGStreamer build system was
> based on the assumption that it is built on top of GStreamer >=
> 0.10.31 which  has an updated gstconfig.h that doesn't require libxml.
>
> Fyi, CMAKE_INCLUDE_PATH is not added to the compiler command line. It
> is used as a hint for find_file() cmake calls. If you really really
> want to fix this in QtGStreamer instead of just updating your
> gstconfig.h, you need to add a FindLibXml2.cmake file, use
> find_package(LibXml2) in the top level CMakeLists.txt and add the
> found include path in the compiler include path with the
> include_directories() call.
>
> Regards,
> George
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

Karl Phillip
While we wait a word on how to do the official fix, I managed to play a video file by hardcoding a filename on mediaapp.cpp:

void MediaApp::openFile(const QString & fileName)
{
    m_baseDir = QFileInfo(fileName).path();

    m_player->stop();
    //m_player->setUri(fileName);
    m_player->setUri("file:///C:\\video.mp4");
    m_player->play();
}

I know that the scheme "file:///C:\\" is ugly, but apparently it's how it works.

Thanks,
--
Karl Phillip


On Mon, Dec 19, 2011 at 10:11 AM, Karl Phillip <[hidden email]> wrote:
Before we close this thread permanently, I need one last help from you guys.

After successfully building Qt-Gstreamer on Windows I noticed that examples/player doesn't work right out of the box. Upon execution I get an error saying "Failed to start in pull mode", "Could not open resource for reading", "No URI set".

I found a thread on the mailing list from last month where a user had reported this issue but he forgot to mention how to do the fix:
http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html

So, how can I fix this issue?

Thank you all
--
Karl Phillip


On Fri, Dec 16, 2011 at 11:02 PM, Maxphil <[hidden email]> wrote:
Fantastic!

Thank you all.



On 16/12/2011, at 22:30, George Kiagiadakis <[hidden email]> wrote:

> On Fri, Dec 16, 2011 at 10:17 PM, Karl Phillip <[hidden email]> wrote:
>> Actually, QtGstreamer is not referencing libxml directly.
>>
>> The error happens because QtGstreamer is using gstreamer, which in turn is
>> using libxml. So QtGstreamer finds gstreamer but not libxml headers.
>>
>> I can't modify gstconfig.h since it belongs to gstreamer. There must be a
>> way to tell QtGstreamer where to look for libxml. It's a shame that it is
>> ignoring my request in CMAKE_INCLUDE_PATH.
>
> No, you have to remove it from gstconfig.h. It's a bug in the
> gstconfig.h shipped with ossbuild. The QtGStreamer build system was
> based on the assumption that it is built on top of GStreamer >=
> 0.10.31 which  has an updated gstconfig.h that doesn't require libxml.
>
> Fyi, CMAKE_INCLUDE_PATH is not added to the compiler command line. It
> is used as a hint for find_file() cmake calls. If you really really
> want to fix this in QtGStreamer instead of just updating your
> gstconfig.h, you need to add a FindLibXml2.cmake file, use
> find_package(LibXml2) in the top level CMakeLists.txt and add the
> found include path in the compiler include path with the
> include_directories() call.
>
> Regards,
> George
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

George Kiagiadakis
In reply to this post by Karl Phillip
On Mon, Dec 19, 2011 at 2:11 PM, Karl Phillip <[hidden email]> wrote:

> Before we close this thread permanently, I need one last help from you guys.
>
> After successfully building Qt-Gstreamer on Windows I noticed that
> examples/player doesn't work right out of the box. Upon execution I get an
> error saying "Failed to start in pull mode", "Could not open resource for
> reading", "No URI set".
>
> I found a thread on the mailing list from last month where a user had
> reported this issue but he forgot to mention how to do the fix:
> http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html
>
> So, how can I fix this issue?

I believe I have fixed this already in master:
http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=c55e67f00431cc2ce54c1f3636cb5d7dae9dec9f

Regards,
George
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

Karl Phillip
Ok, Thanks George.

I copied this commit's changes and manually applied them on the version I'm using and it worked.

However, I just cloned the repository and tried to compile it on Windows and it had a couple of fails:

========== Build: 15 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========

I believe the 4 fails are listed below:

FIRST:
7>-----------------------------------------------------------------------------
7>-- The following OPTIONAL packages could NOT be located on your system.
7>-- Consider installing them to enable more features from this software.
7>-----------------------------------------------------------------------------
7>   * Doxygen  <http://www.doxygen.org/>
7>     Used to generate the API documentation
7>-----------------------------------------------------------------------------
7>-- The following REQUIRED packages could NOT be located on your system.
7>-- You must install these packages before continuing.
7>-----------------------------------------------------------------------------
7>   * GStreamer (0.10.31 or higher)  <http://gstreamer.freedesktop.org/>
7>     Required to build QtGStreamer
7>-----------------------------------------------------------------------------
7>CMake Error at cmake/modules/MacroLogFeature.cmake:141 (MESSAGE):
7>  Exiting: Missing Requirements
7>Call Stack (most recent call first):
7>  CMakeLists.txt:109 (macro_display_feature_log)
7>-- Configuring incomplete, errors occurred!
7>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule C:/qt-gstreamer_git/elements/CMakeLists.txt"
7>Build log was saved at "file://c:\qt-gstreamer_git\build\elements\gstqwidgetvideosink_automoc.dir\Debug\BuildLog.htm"
7>gstqwidgetvideosink_automoc - 1 error(s), 0 warning(s)
8>-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
8>-----------------------------------------------------------------------------
8>-- The following OPTIONAL packages could NOT be located on your system.
8>-- Consider installing them to enable more features from this software.
8>-----------------------------------------------------------------------------
8>   * Doxygen  <http://www.doxygen.org/>
8>     Used to generate the API documentation
8>-----------------------------------------------------------------------------
8>-- Configuring done
9>------ Build started: Project: recorder_automoc, Configuration: Debug Win32 ------
9>Generating recorder.moc
8>-- Generating done
8>-- Build files have been written to: C:/qt-gstreamer_git/build
8>Compiling...


SECOND:
14>-----------------------------------------------------------------------------
14>-- The following OPTIONAL packages could NOT be located on your system.
14>-- Consider installing them to enable more features from this software.
14>-----------------------------------------------------------------------------
14>   * Doxygen  <http://www.doxygen.org/>
14>     Used to generate the API documentation
14>-----------------------------------------------------------------------------
14>-- Configuring done
14>-- Generating done
14>-- Build files have been written to: C:/qt-gstreamer_git/build
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000017322584.rsp: System
 Error: No such file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000037322584.rsp: System
 Error: No such file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000047322584.rsp: System
 Error: No such file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/src.obj: System Error: No su
ch file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP0000027322584.tmp: System
 Error: No such file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.vcproj: System Error: No such file or
directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/src.cxx: System Error: No such file or directory
13>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Failed
13>-- GStreamer 0.10.31 is required, but the version found is older
13>-- checking for module 'gstreamer-plugins-base-0.10'
13>--   package 'gstreamer-plugins-base-0.10' not found
13>-- checking for module 'gstreamer-app-0.10'
13>--   package 'gstreamer-app-0.10' not found
13>-- checking for module 'gstreamer-interfaces-0.10'
13>--   package 'gstreamer-interfaces-0.10' not found
13>-- checking for module 'gstreamer-video-0.10'
13>--   package 'gstreamer-video-0.10' not found
13>-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
13>-----------------------------------------------------------------------------
13>-- The following external packages were located on your system.
13>-- This installation will have the extra features provided by these packages.
13>-----------------------------------------------------------------------------


THIRD:
16>-----------------------------------------------------------------------------
16>-- The following OPTIONAL packages could NOT be located on your system.
16>-- Consider installing them to enable more features from this software.
16>-----------------------------------------------------------------------------
16>   * Doxygen  <http://www.doxygen.org/>
16>     Used to generate the API documentation
16>-----------------------------------------------------------------------------
16>-- Configuring done
16>-- Generating done
16>-- Build files have been written to: C:/qt-gstreamer_git/build
16>Compiling...
16>mediaapp.cpp
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/BuildLog.htm: System Error:
No such file or directory
16>player.cpp
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.embed.m
anifest: System Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.embed.m
anifest.res: System Error: No such file or directory
16>main.cpp
16>player_automoc.cpp
16>Generating Code...
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.interme
diate.manifest: System Error: No such file or directory
16>Compiling manifest to resources...
16>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
16>Copyright (C) Microsoft Corporation.  All rights reserved.
16>Linking...
16>Embedding manifest...
16>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
16>Copyright (C) Microsoft Corporation.  All rights reserved.
16>Build log was saved at "file://c:\qt-gstreamer_git\build\examples\player\player.dir\Debug\BuildLog.htm"
16>player - 0 error(s), 0 warning(s)
18>------ Build started: Project: appsink-src, Configuration: Debug Win32 ------
18>Building Custom Rule C:/qt-gstreamer_git/examples/appsink-src/CMakeLists.txt
18>CMake is re-running because C:\qt-gstreamer_git\build\examples\appsink-src\CMakeFiles\generate.stamp is out-of-date.
18>  the file 'C:/qt-gstreamer_git/examples/appsink-src/CMakeLists.txt'
18>  is newer than 'C:\qt-gstreamer_git\build\examples\appsink-src\CMakeFiles\generate.stamp.depend'
18>  result='-1'
18>-- checking for module 'gstreamer-0.10'
18>--   package 'gstreamer-0.10' not found
18>-- checking for module 'gstreamer-base-0.10'
18>--   package 'gstreamer-base-0.10' not found
18>-- Performing Test GSTREAMER_VERSION_COMPATIBLE
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/mt.dep: System Error: No suc
h file or directory
18>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success
18>-- checking for module 'gstreamer-plugins-base-0.10'
18>--   package 'gstreamer-plugins-base-0.10' not found
18>-- checking for module 'gstreamer-app-0.10'
18>--   package 'gstreamer-app-0.10' not found
18>-- checking for module 'gstreamer-interfaces-0.10'
18>--   package 'gstreamer-interfaces-0.10' not found
18>-- checking for module 'gstreamer-video-0.10'
18>--   package 'gstreamer-video-0.10' not found
18>-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
18>-----------------------------------------------------------------------------
18>-- The following external packages were located on your system.
18>-- This installation will have the extra features provided by these packages.
18>-----------------------------------------------------------------------------


FOURTH:
18>-----------------------------------------------------------------------------
18>   * Doxygen  <http://www.doxygen.org/>
18>     Used to generate the API documentation
18>-----------------------------------------------------------------------------
18>-- Configuring done
18>-- Generating done
18>-- Build files have been written to: C:/qt-gstreamer_git/build
18>Compiling...
18>main.cpp
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000131324084.rsp: Syste
m Error: No such file or directory
18>Compiling manifest to resources...
18>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
18>Copyright (C) Microsoft Corporation.  All rights reserved.
18>Linking...
18>LINK : fatal error LNK1104: cannot open file '..\..\src\QGst\Debug\QtGStreamerUtils-0.10.lib'
18>Build log was saved at "file://c:\qt-gstreamer_git\build\examples\appsink-src\appsink-src.dir\Debug\BuildLog.htm"
18>appsink-src - 1 error(s), 0 warning(s)
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000331324084.rsp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000431324084.rsp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000731324084.rsp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/src.obj: System Error: No su
ch file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP00000231324084.tmp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP00000631324084.tmp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.vcproj: System Error: No such file or
directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/src.cxx: System Error: No such file or directory
17>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success
17>-- checking for module 'gstreamer-plugins-base-0.10'
17>--   package 'gstreamer-plugins-base-0.10' not found
17>-- checking for module 'gstreamer-app-0.10'
17>--   package 'gstreamer-app-0.10' not found
17>-- checking for module 'gstreamer-interfaces-0.10'
17>--   package 'gstreamer-interfaces-0.10' not found
17>-- checking for module 'gstreamer-video-0.10'
17>--   package 'gstreamer-video-0.10' not found
17>-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
17>-----------------------------------------------------------------------------
17>-- The following external packages were located on your system.
17>-- This installation will have the extra features provided by these packages.
17>-----------------------------------------------------------------------------
17>   * GStreamer - Required to build QtGStreamer
17>   * GStreamer base library - Used for building the qwidgetvideosink element
17>   * GStreamer app library - Required to build QtGStreamerUtils
17>   * GStreamer interfaces library - Required to build QtGStreamer
17>   * GStreamer video library - Used for building the qwidgetvideosink element
17>   * GLib - Required to build QtGLib
17>   * GObject - Required to build QtGLib
17>-----------------------------------------------------------------------------
17>-- The following OPTIONAL packages could NOT be located on your system.
17>-- Consider installing them to enable more features from this software.
17>-----------------------------------------------------------------------------


Thanks,
--
Karl Phillip















On Mon, Dec 19, 2011 at 10:21 AM, George Kiagiadakis <[hidden email]> wrote:
On Mon, Dec 19, 2011 at 2:11 PM, Karl Phillip <[hidden email]> wrote:
> Before we close this thread permanently, I need one last help from you guys.
>
> After successfully building Qt-Gstreamer on Windows I noticed that
> examples/player doesn't work right out of the box. Upon execution I get an
> error saying "Failed to start in pull mode", "Could not open resource for
> reading", "No URI set".
>
> I found a thread on the mailing list from last month where a user had
> reported this issue but he forgot to mention how to do the fix:
> http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html
>
> So, how can I fix this issue?

I believe I have fixed this already in master:
http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=c55e67f00431cc2ce54c1f3636cb5d7dae9dec9f

Regards,
George
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QtGstreamer for Windows XP with VS2008

Karl Phillip
Commit 8f73894014f1c6524e488aa64b78c1dbdf0c8766 "Don't use pkg-config variables directly in FindGObject.cmake" fixed the problem and QtGstreamer was compiled successfully on Windows.

Thanks.
--
Karl Phillip

On Mon, Dec 19, 2011 at 2:58 PM, Karl Phillip <[hidden email]> wrote:
Ok, Thanks George.

I copied this commit's changes and manually applied them on the version I'm using and it worked.

However, I just cloned the repository and tried to compile it on Windows and it had a couple of fails:

========== Build: 15 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========

I believe the 4 fails are listed below:

FIRST:
7>-----------------------------------------------------------------------------
7>-- The following OPTIONAL packages could NOT be located on your system.
7>-- Consider installing them to enable more features from this software.
7>-----------------------------------------------------------------------------
7>   * Doxygen  <http://www.doxygen.org/>

7>     Used to generate the API documentation
7>-----------------------------------------------------------------------------
7>-- The following REQUIRED packages could NOT be located on your system.
7>-- You must install these packages before continuing.
7>-----------------------------------------------------------------------------
7>   * GStreamer (0.10.31 or higher)  <http://gstreamer.freedesktop.org/>
7>     Required to build QtGStreamer
7>-----------------------------------------------------------------------------
7>CMake Error at cmake/modules/MacroLogFeature.cmake:141 (MESSAGE):
7>  Exiting: Missing Requirements
7>Call Stack (most recent call first):
7>  CMakeLists.txt:109 (macro_display_feature_log)
7>-- Configuring incomplete, errors occurred!
7>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule C:/qt-gstreamer_git/elements/CMakeLists.txt"
7>Build log was saved at "file://c:\qt-gstreamer_git\build\elements\gstqwidgetvideosink_automoc.dir\Debug\BuildLog.htm"
7>gstqwidgetvideosink_automoc - 1 error(s), 0 warning(s)
8>-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
8>-----------------------------------------------------------------------------
8>-- The following OPTIONAL packages could NOT be located on your system.
8>-- Consider installing them to enable more features from this software.
8>-----------------------------------------------------------------------------
8>   * Doxygen  <http://www.doxygen.org/>

8>     Used to generate the API documentation
8>-----------------------------------------------------------------------------
8>-- Configuring done
9>------ Build started: Project: recorder_automoc, Configuration: Debug Win32 ------
9>Generating recorder.moc
8>-- Generating done
8>-- Build files have been written to: C:/qt-gstreamer_git/build
8>Compiling...


SECOND:
14>-----------------------------------------------------------------------------
14>-- The following OPTIONAL packages could NOT be located on your system.
14>-- Consider installing them to enable more features from this software.
14>-----------------------------------------------------------------------------
14>   * Doxygen  <http://www.doxygen.org/>
14>     Used to generate the API documentation
14>-----------------------------------------------------------------------------
14>-- Configuring done
14>-- Generating done
14>-- Build files have been written to: C:/qt-gstreamer_git/build
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000017322584.rsp: System
 Error: No such file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000037322584.rsp: System
 Error: No such file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000047322584.rsp: System
 Error: No such file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/src.obj: System Error: No su
ch file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP0000027322584.tmp: System
 Error: No such file or directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.vcproj: System Error: No such file or
directory
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/src.cxx: System Error: No such file or directory
13>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Failed
13>-- GStreamer 0.10.31 is required, but the version found is older
13>-- checking for module 'gstreamer-plugins-base-0.10'
13>--   package 'gstreamer-plugins-base-0.10' not found
13>-- checking for module 'gstreamer-app-0.10'
13>--   package 'gstreamer-app-0.10' not found
13>-- checking for module 'gstreamer-interfaces-0.10'
13>--   package 'gstreamer-interfaces-0.10' not found
13>-- checking for module 'gstreamer-video-0.10'
13>--   package 'gstreamer-video-0.10' not found
13>-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
13>-----------------------------------------------------------------------------
13>-- The following external packages were located on your system.
13>-- This installation will have the extra features provided by these packages.
13>-----------------------------------------------------------------------------


THIRD:
16>-----------------------------------------------------------------------------
16>-- The following OPTIONAL packages could NOT be located on your system.
16>-- Consider installing them to enable more features from this software.
16>-----------------------------------------------------------------------------
16>   * Doxygen  <http://www.doxygen.org/>
16>     Used to generate the API documentation
16>-----------------------------------------------------------------------------
16>-- Configuring done
16>-- Generating done
16>-- Build files have been written to: C:/qt-gstreamer_git/build
16>Compiling...
16>mediaapp.cpp
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/BuildLog.htm: System Error:

No such file or directory
16>player.cpp
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.embed.m
anifest: System Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.embed.m
anifest.res: System Error: No such file or directory
16>main.cpp
16>player_automoc.cpp
16>Generating Code...
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.interme
diate.manifest: System Error: No such file or directory
16>Compiling manifest to resources...
16>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
16>Copyright (C) Microsoft Corporation.  All rights reserved.
16>Linking...
16>Embedding manifest...
16>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
16>Copyright (C) Microsoft Corporation.  All rights reserved.
16>Build log was saved at "file://c:\qt-gstreamer_git\build\examples\player\player.dir\Debug\BuildLog.htm"
16>player - 0 error(s), 0 warning(s)
18>------ Build started: Project: appsink-src, Configuration: Debug Win32 ------
18>Building Custom Rule C:/qt-gstreamer_git/examples/appsink-src/CMakeLists.txt
18>CMake is re-running because C:\qt-gstreamer_git\build\examples\appsink-src\CMakeFiles\generate.stamp is out-of-date.
18>  the file 'C:/qt-gstreamer_git/examples/appsink-src/CMakeLists.txt'
18>  is newer than 'C:\qt-gstreamer_git\build\examples\appsink-src\CMakeFiles\generate.stamp.depend'
18>  result='-1'
18>-- checking for module 'gstreamer-0.10'
18>--   package 'gstreamer-0.10' not found
18>-- checking for module 'gstreamer-base-0.10'
18>--   package 'gstreamer-base-0.10' not found
18>-- Performing Test GSTREAMER_VERSION_COMPATIBLE
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/mt.dep: System Error: No suc
h file or directory
18>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success
18>-- checking for module 'gstreamer-plugins-base-0.10'
18>--   package 'gstreamer-plugins-base-0.10' not found
18>-- checking for module 'gstreamer-app-0.10'
18>--   package 'gstreamer-app-0.10' not found
18>-- checking for module 'gstreamer-interfaces-0.10'
18>--   package 'gstreamer-interfaces-0.10' not found
18>-- checking for module 'gstreamer-video-0.10'
18>--   package 'gstreamer-video-0.10' not found
18>-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
18>-----------------------------------------------------------------------------
18>-- The following external packages were located on your system.
18>-- This installation will have the extra features provided by these packages.
18>-----------------------------------------------------------------------------


FOURTH:
18>-----------------------------------------------------------------------------
18>   * Doxygen  <http://www.doxygen.org/>
18>     Used to generate the API documentation
18>-----------------------------------------------------------------------------
18>-- Configuring done
18>-- Generating done
18>-- Build files have been written to: C:/qt-gstreamer_git/build
18>Compiling...
18>main.cpp
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000131324084.rsp: Syste
m Error: No such file or directory
18>Compiling manifest to resources...
18>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
18>Copyright (C) Microsoft Corporation.  All rights reserved.
18>Linking...
18>LINK : fatal error LNK1104: cannot open file '..\..\src\QGst\Debug\QtGStreamerUtils-0.10.lib'
18>Build log was saved at "file://c:\qt-gstreamer_git\build\examples\appsink-src\appsink-src.dir\Debug\BuildLog.htm"
18>appsink-src - 1 error(s), 0 warning(s)
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000331324084.rsp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000431324084.rsp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000731324084.rsp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/src.obj: System Error: No su
ch file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP00000231324084.tmp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP00000631324084.tmp: Syste
m Error: No such file or directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.vcproj: System Error: No such file or
directory
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/src.cxx: System Error: No such file or directory
17>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success
17>-- checking for module 'gstreamer-plugins-base-0.10'
17>--   package 'gstreamer-plugins-base-0.10' not found
17>-- checking for module 'gstreamer-app-0.10'
17>--   package 'gstreamer-app-0.10' not found
17>-- checking for module 'gstreamer-interfaces-0.10'
17>--   package 'gstreamer-interfaces-0.10' not found
17>-- checking for module 'gstreamer-video-0.10'
17>--   package 'gstreamer-video-0.10' not found
17>-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
17>-----------------------------------------------------------------------------
17>-- The following external packages were located on your system.
17>-- This installation will have the extra features provided by these packages.
17>-----------------------------------------------------------------------------
17>   * GStreamer - Required to build QtGStreamer
17>   * GStreamer base library - Used for building the qwidgetvideosink element
17>   * GStreamer app library - Required to build QtGStreamerUtils
17>   * GStreamer interfaces library - Required to build QtGStreamer
17>   * GStreamer video library - Used for building the qwidgetvideosink element
17>   * GLib - Required to build QtGLib
17>   * GObject - Required to build QtGLib
17>-----------------------------------------------------------------------------
17>-- The following OPTIONAL packages could NOT be located on your system.
17>-- Consider installing them to enable more features from this software.
17>-----------------------------------------------------------------------------


Thanks,
--
Karl Phillip
















On Mon, Dec 19, 2011 at 10:21 AM, George Kiagiadakis <[hidden email]> wrote:
On Mon, Dec 19, 2011 at 2:11 PM, Karl Phillip <[hidden email]> wrote:
> Before we close this thread permanently, I need one last help from you guys.
>
> After successfully building Qt-Gstreamer on Windows I noticed that
> examples/player doesn't work right out of the box. Upon execution I get an
> error saying "Failed to start in pull mode", "Could not open resource for
> reading", "No URI set".
>
> I found a thread on the mailing list from last month where a user had
> reported this issue but he forgot to mention how to do the fix:
> http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html
>
> So, how can I fix this issue?

I believe I have fixed this already in master:
http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=c55e67f00431cc2ce54c1f3636cb5d7dae9dec9f

Regards,
George
_______________________________________________
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