Commit <a href="http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=8f73894014f1c6524e488aa64b78c1dbdf0c8766">8f73894014f1c6524e488aa64b78c1dbdf0c8766</a> "<a href="http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=8f73894014f1c6524e488aa64b78c1dbdf0c8766">Don't use pkg-config variables directly in FindGObject.cmake</a>" fixed the problem and QtGstreamer was compiled successfully on Windows.<br>
<br>Thanks.<br>--<br>Karl Phillip<br><br><div class="gmail_quote">On Mon, Dec 19, 2011 at 2:58 PM, Karl Phillip <span dir="ltr"><<a href="mailto:maxphil@gmail.com">maxphil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok, Thanks George.<br><br>I copied this commit's changes and manually applied them on the version I'm using and it worked.<br><br>However, I just cloned the repository and tried to compile it on Windows and it had a couple of fails:<br>
<br>========== Build: 15 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========<br><br>I believe the 4 fails are listed below:<br><br>FIRST:<br>7>-----------------------------------------------------------------------------<br>
7>-- The following OPTIONAL packages could NOT be located on your system.<br>7>-- Consider installing them to enable more features from this software.<br>7>-----------------------------------------------------------------------------<br>
7> * Doxygen <<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>><div class="im"><br>7> Used to generate the API documentation<br></div>7>-----------------------------------------------------------------------------<br>
7>-- The following REQUIRED packages could NOT be located on your system.<br>7>-- You must install these packages before continuing.<br>7>-----------------------------------------------------------------------------<br>
7> * GStreamer (0.10.31 or higher) <<a href="http://gstreamer.freedesktop.org/" target="_blank">http://gstreamer.freedesktop.org/</a>><br>7> Required to build QtGStreamer<br>7>-----------------------------------------------------------------------------<br>
7>CMake Error at cmake/modules/MacroLogFeature.cmake:141 (MESSAGE):<br>7> Exiting: Missing Requirements<br>7>Call Stack (most recent call first):<br>7> CMakeLists.txt:109 (macro_display_feature_log)<br>7>-- Configuring incomplete, errors occurred!<br>
7>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule C:/qt-gstreamer_git/elements/CMakeLists.txt"<br>7>Build log was saved at "file://c:\qt-gstreamer_git\build\elements\gstqwidgetvideosink_automoc.dir\Debug\BuildLog.htm"<br>
7>gstqwidgetvideosink_automoc - 1 error(s), 0 warning(s)<br>8>-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)<br>8>-----------------------------------------------------------------------------<br>8>-- The following OPTIONAL packages could NOT be located on your system.<br>
8>-- Consider installing them to enable more features from this software.<br>8>-----------------------------------------------------------------------------<br>8> * Doxygen <<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>><div class="im">
<br>
8> Used to generate the API documentation<br></div>8>-----------------------------------------------------------------------------<br>8>-- Configuring done<br>9>------ Build started: Project: recorder_automoc, Configuration: Debug Win32 ------<br>
9>Generating recorder.moc<br>8>-- Generating done<br>8>-- Build files have been written to: C:/qt-gstreamer_git/build<br>8>Compiling...<br><br><br>SECOND:<br>14>-----------------------------------------------------------------------------<br>
14>-- The following OPTIONAL packages could NOT be located on your system.<br>14>-- Consider installing them to enable more features from this software.<br>14>-----------------------------------------------------------------------------<br>
14> * Doxygen <<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>><br>14> Used to generate the API documentation<br>14>-----------------------------------------------------------------------------<br>
14>-- Configuring done<br>14>-- Generating done<br>14>-- Build files have been written to: C:/qt-gstreamer_git/build<br>13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000017322584.rsp: System<br>
Error: No such file or directory<br>13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000037322584.rsp: System<br> Error: No such file or directory<br>
13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP0000047322584.rsp: System<br> Error: No such file or directory<br>13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/src.obj: System Error: No su<br>
ch file or directory<br>13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP0000027322584.tmp: System<br> Error: No such file or directory<br>13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.vcproj: System Error: No such file or<br>
directory<br>13>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/src.cxx: System Error: No such file or directory<br>13>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Failed<br>13>-- GStreamer 0.10.31 is required, but the version found is older<br>
13>-- checking for module 'gstreamer-plugins-base-0.10'<br>13>-- package 'gstreamer-plugins-base-0.10' not found<br>13>-- checking for module 'gstreamer-app-0.10'<br>13>-- package 'gstreamer-app-0.10' not found<br>
13>-- checking for module 'gstreamer-interfaces-0.10'<br>13>-- package 'gstreamer-interfaces-0.10' not found<br>13>-- checking for module 'gstreamer-video-0.10'<br>13>-- package 'gstreamer-video-0.10' not found<br>
13>-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)<br>13>-----------------------------------------------------------------------------<br>13>-- The following external packages were located on your system.<br>
13>-- This installation will have the extra features provided by these packages.<br>13>-----------------------------------------------------------------------------<br><br><br>THIRD:<br>16>-----------------------------------------------------------------------------<br>
16>-- The following OPTIONAL packages could NOT be located on your system.<br>16>-- Consider installing them to enable more features from this software.<br>16>-----------------------------------------------------------------------------<br>
16> * Doxygen <<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>><br>16> Used to generate the API documentation<br>16>-----------------------------------------------------------------------------<br>
16>-- Configuring done<br>16>-- Generating done<br>16>-- Build files have been written to: C:/qt-gstreamer_git/build<br>16>Compiling...<br>16>mediaapp.cpp<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/BuildLog.htm: System Error:<div class="im">
<br>
No such file or directory<br></div>16>player.cpp<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.embed.m<br>anifest: System Error: No such file or directory<br>
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.embed.m<br>anifest.res: System Error: No such file or directory<br>16>main.cpp<br>
16>player_automoc.cpp<br>16>Generating Code...<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/cmTryCompileExec.exe.interme<br>diate.manifest: System Error: No such file or directory<br>
16>Compiling manifest to resources...<br>16>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>16>Copyright (C) Microsoft Corporation. All rights reserved.<br>16>Linking...<br>16>Embedding manifest...<br>
16>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>16>Copyright (C) Microsoft Corporation. All rights reserved.<br>16>Build log was saved at "file://c:\qt-gstreamer_git\build\examples\player\player.dir\Debug\BuildLog.htm"<br>
16>player - 0 error(s), 0 warning(s)<br>18>------ Build started: Project: appsink-src, Configuration: Debug Win32 ------<br>18>Building Custom Rule C:/qt-gstreamer_git/examples/appsink-src/CMakeLists.txt<br>18>CMake is re-running because C:\qt-gstreamer_git\build\examples\appsink-src\CMakeFiles\generate.stamp is out-of-date.<br>
18> the file 'C:/qt-gstreamer_git/examples/appsink-src/CMakeLists.txt'<br>18> is newer than 'C:\qt-gstreamer_git\build\examples\appsink-src\CMakeFiles\generate.stamp.depend'<br>18> result='-1'<br>
18>-- checking for module 'gstreamer-0.10'<br>18>-- package 'gstreamer-0.10' not found<br>18>-- checking for module 'gstreamer-base-0.10'<br>18>-- package 'gstreamer-base-0.10' not found<br>
18>-- Performing Test GSTREAMER_VERSION_COMPATIBLE<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/mt.dep: System Error: No suc<br>h file or directory<br>
18>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success<br>18>-- checking for module 'gstreamer-plugins-base-0.10'<br>18>-- package 'gstreamer-plugins-base-0.10' not found<br>18>-- checking for module 'gstreamer-app-0.10'<br>
18>-- package 'gstreamer-app-0.10' not found<br>18>-- checking for module 'gstreamer-interfaces-0.10'<br>18>-- package 'gstreamer-interfaces-0.10' not found<br>18>-- checking for module 'gstreamer-video-0.10'<br>
18>-- package 'gstreamer-video-0.10' not found<br>18>-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)<br>18>-----------------------------------------------------------------------------<br>18>-- The following external packages were located on your system.<br>
18>-- This installation will have the extra features provided by these packages.<br>18>-----------------------------------------------------------------------------<br><br><br>FOURTH:<br>18>-----------------------------------------------------------------------------<br>
18> * Doxygen <<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>><br>18> Used to generate the API documentation<br>18>-----------------------------------------------------------------------------<br>
18>-- Configuring done<br>18>-- Generating done<br>18>-- Build files have been written to: C:/qt-gstreamer_git/build<br>18>Compiling...<br>18>main.cpp<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000131324084.rsp: Syste<br>
m Error: No such file or directory<br>18>Compiling manifest to resources...<br>18>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>18>Copyright (C) Microsoft Corporation. All rights reserved.<br>
18>Linking...<br>18>LINK : fatal error LNK1104: cannot open file '..\..\src\QGst\Debug\QtGStreamerUtils-0.10.lib'<br>18>Build log was saved at "file://c:\qt-gstreamer_git\build\examples\appsink-src\appsink-src.dir\Debug\BuildLog.htm"<br>
18>appsink-src - 1 error(s), 0 warning(s)<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000331324084.rsp: Syste<br>m Error: No such file or directory<br>
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000431324084.rsp: Syste<br>m Error: No such file or directory<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/RSP00000731324084.rsp: Syste<br>
m Error: No such file or directory<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/src.obj: System Error: No su<br>ch file or directory<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP00000231324084.tmp: Syste<br>
m Error: No such file or directory<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.dir/Debug/TMP00000631324084.tmp: Syste<br>m Error: No such file or directory<br>
17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/cmTryCompileExec.vcproj: System Error: No such file or<br>directory<br>17>CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/src.cxx: System Error: No such file or directory<br>
17>-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success<br>17>-- checking for module 'gstreamer-plugins-base-0.10'<br>17>-- package 'gstreamer-plugins-base-0.10' not found<br>17>-- checking for module 'gstreamer-app-0.10'<br>
17>-- package 'gstreamer-app-0.10' not found<br>17>-- checking for module 'gstreamer-interfaces-0.10'<br>17>-- package 'gstreamer-interfaces-0.10' not found<br>17>-- checking for module 'gstreamer-video-0.10'<br>
17>-- package 'gstreamer-video-0.10' not found<br>17>-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)<br>17>-----------------------------------------------------------------------------<br>17>-- The following external packages were located on your system.<br>
17>-- This installation will have the extra features provided by these packages.<br>17>-----------------------------------------------------------------------------<br>17> * GStreamer - Required to build QtGStreamer<br>
17> * GStreamer base library - Used for building the qwidgetvideosink element<br>17> * GStreamer app library - Required to build QtGStreamerUtils<br>17> * GStreamer interfaces library - Required to build QtGStreamer<br>
17> * GStreamer video library - Used for building the qwidgetvideosink element<br>17> * GLib - Required to build QtGLib<br>17> * GObject - Required to build QtGLib<br>17>-----------------------------------------------------------------------------<br>
17>-- The following OPTIONAL packages could NOT be located on your system.<br>17>-- Consider installing them to enable more features from this software.<br>17>-----------------------------------------------------------------------------<br>
<br><br>Thanks,<span class="HOEnZb"><font color="#888888"><br>--<br>Karl Phillip</font></span><div class="HOEnZb"><div class="h5"><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Mon, Dec 19, 2011 at 10:21 AM, George Kiagiadakis <span dir="ltr"><<a href="mailto:kiagiadakis.george@gmail.com" target="_blank">kiagiadakis.george@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Mon, Dec 19, 2011 at 2:11 PM, Karl Phillip <<a href="mailto:maxphil@gmail.com" target="_blank">maxphil@gmail.com</a>> wrote:<br>
> Before we close this thread permanently, I need one last help from you guys.<br>
><br>
> After successfully building Qt-Gstreamer on Windows I noticed that<br>
> examples/player doesn't work right out of the box. Upon execution I get an<br>
> error saying "Failed to start in pull mode", "Could not open resource for<br>
> reading", "No URI set".<br>
><br>
> I found a thread on the mailing list from last month where a user had<br>
> reported this issue but he forgot to mention how to do the fix:<br>
> <a href="http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html</a><br>
><br>
> So, how can I fix this issue?<br>
<br>
</div>I believe I have fixed this already in master:<br>
<a href="http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=c55e67f00431cc2ce54c1f3636cb5d7dae9dec9f" target="_blank">http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=c55e67f00431cc2ce54c1f3636cb5d7dae9dec9f</a><br>
<div><div><br>
Regards,<br>
George<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>