Error compiling QtGstreamer for Windows XP with VS2008
Karl Phillip
maxphil at gmail.com
Tue Dec 20 03:45:13 PST 2011
Commit 8f73894014f1c6524e488aa64b78c1dbdf0c8766<http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=8f73894014f1c6524e488aa64b78c1dbdf0c8766>"Don't
use pkg-config variables directly in
FindGObject.cmake<http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=8f73894014f1c6524e488aa64b78c1dbdf0c8766>"
fixed the problem and QtGstreamer was compiled successfully on Windows.
Thanks.
--
Karl Phillip
On Mon, Dec 19, 2011 at 2:58 PM, Karl Phillip <maxphil at gmail.com> 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 <
> kiagiadakis.george at gmail.com> wrote:
>
>> On Mon, Dec 19, 2011 at 2:11 PM, Karl Phillip <maxphil at gmail.com> 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
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111220/2904728c/attachment-0001.html>
More information about the gstreamer-devel
mailing list