Commit <a href="http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=8f73894014f1c6524e488aa64b78c1dbdf0c8766">8f73894014f1c6524e488aa64b78c1dbdf0c8766</a> &quot;<a href="http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=8f73894014f1c6524e488aa64b78c1dbdf0c8766">Don&#39;t use pkg-config variables directly in FindGObject.cmake</a>&quot; 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">&lt;<a href="mailto:maxphil@gmail.com">maxphil@gmail.com</a>&gt;</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&#39;s changes and manually applied them on the version I&#39;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&gt;-----------------------------------------------------------------------------<br>

7&gt;-- The following OPTIONAL packages could NOT be located on your system.<br>7&gt;-- Consider installing them to enable more features from this software.<br>7&gt;-----------------------------------------------------------------------------<br>

7&gt;   * Doxygen  &lt;<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>&gt;<div class="im"><br>7&gt;     Used to generate the API documentation<br></div>7&gt;-----------------------------------------------------------------------------<br>

7&gt;-- The following REQUIRED packages could NOT be located on your system.<br>7&gt;-- You must install these packages before continuing.<br>7&gt;-----------------------------------------------------------------------------<br>

7&gt;   * GStreamer (0.10.31 or higher)  &lt;<a href="http://gstreamer.freedesktop.org/" target="_blank">http://gstreamer.freedesktop.org/</a>&gt;<br>7&gt;     Required to build QtGStreamer<br>7&gt;-----------------------------------------------------------------------------<br>

7&gt;CMake Error at cmake/modules/MacroLogFeature.cmake:141 (MESSAGE):<br>7&gt;  Exiting: Missing Requirements<br>7&gt;Call Stack (most recent call first):<br>7&gt;  CMakeLists.txt:109 (macro_display_feature_log)<br>7&gt;-- Configuring incomplete, errors occurred!<br>

7&gt;Project : error PRJ0019: A tool returned an error code from &quot;Building Custom Rule C:/qt-gstreamer_git/elements/CMakeLists.txt&quot;<br>7&gt;Build log was saved at &quot;file://c:\qt-gstreamer_git\build\elements\gstqwidgetvideosink_automoc.dir\Debug\BuildLog.htm&quot;<br>

7&gt;gstqwidgetvideosink_automoc - 1 error(s), 0 warning(s)<br>8&gt;-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)<br>8&gt;-----------------------------------------------------------------------------<br>8&gt;-- The following OPTIONAL packages could NOT be located on your system.<br>

8&gt;-- Consider installing them to enable more features from this software.<br>8&gt;-----------------------------------------------------------------------------<br>8&gt;   * Doxygen  &lt;<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>&gt;<div class="im">
<br>
8&gt;     Used to generate the API documentation<br></div>8&gt;-----------------------------------------------------------------------------<br>8&gt;-- Configuring done<br>9&gt;------ Build started: Project: recorder_automoc, Configuration: Debug Win32 ------<br>

9&gt;Generating recorder.moc<br>8&gt;-- Generating done<br>8&gt;-- Build files have been written to: C:/qt-gstreamer_git/build<br>8&gt;Compiling...<br><br><br>SECOND:<br>14&gt;-----------------------------------------------------------------------------<br>

14&gt;-- The following OPTIONAL packages could NOT be located on your system.<br>14&gt;-- Consider installing them to enable more features from this software.<br>14&gt;-----------------------------------------------------------------------------<br>

14&gt;   * Doxygen  &lt;<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>&gt;<br>14&gt;     Used to generate the API documentation<br>14&gt;-----------------------------------------------------------------------------<br>

14&gt;-- Configuring done<br>14&gt;-- Generating done<br>14&gt;-- Build files have been written to: C:/qt-gstreamer_git/build<br>13&gt;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&gt;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&gt;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&gt;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&gt;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&gt;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&gt;CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/src.cxx: System Error: No such file or directory<br>13&gt;-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Failed<br>13&gt;-- GStreamer 0.10.31 is required, but the version found is older<br>

13&gt;-- checking for module &#39;gstreamer-plugins-base-0.10&#39;<br>13&gt;--   package &#39;gstreamer-plugins-base-0.10&#39; not found<br>13&gt;-- checking for module &#39;gstreamer-app-0.10&#39;<br>13&gt;--   package &#39;gstreamer-app-0.10&#39; not found<br>

13&gt;-- checking for module &#39;gstreamer-interfaces-0.10&#39;<br>13&gt;--   package &#39;gstreamer-interfaces-0.10&#39; not found<br>13&gt;-- checking for module &#39;gstreamer-video-0.10&#39;<br>13&gt;--   package &#39;gstreamer-video-0.10&#39; not found<br>

13&gt;-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)<br>13&gt;-----------------------------------------------------------------------------<br>13&gt;-- The following external packages were located on your system.<br>

13&gt;-- This installation will have the extra features provided by these packages.<br>13&gt;-----------------------------------------------------------------------------<br><br><br>THIRD:<br>16&gt;-----------------------------------------------------------------------------<br>

16&gt;-- The following OPTIONAL packages could NOT be located on your system.<br>16&gt;-- Consider installing them to enable more features from this software.<br>16&gt;-----------------------------------------------------------------------------<br>

16&gt;   * Doxygen  &lt;<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>&gt;<br>16&gt;     Used to generate the API documentation<br>16&gt;-----------------------------------------------------------------------------<br>

16&gt;-- Configuring done<br>16&gt;-- Generating done<br>16&gt;-- Build files have been written to: C:/qt-gstreamer_git/build<br>16&gt;Compiling...<br>16&gt;mediaapp.cpp<br>17&gt;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&gt;player.cpp<br>17&gt;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&gt;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&gt;main.cpp<br>

16&gt;player_automoc.cpp<br>16&gt;Generating Code...<br>17&gt;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&gt;Compiling manifest to resources...<br>16&gt;Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>16&gt;Copyright (C) Microsoft Corporation.  All rights reserved.<br>16&gt;Linking...<br>16&gt;Embedding manifest...<br>

16&gt;Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>16&gt;Copyright (C) Microsoft Corporation.  All rights reserved.<br>16&gt;Build log was saved at &quot;file://c:\qt-gstreamer_git\build\examples\player\player.dir\Debug\BuildLog.htm&quot;<br>

16&gt;player - 0 error(s), 0 warning(s)<br>18&gt;------ Build started: Project: appsink-src, Configuration: Debug Win32 ------<br>18&gt;Building Custom Rule C:/qt-gstreamer_git/examples/appsink-src/CMakeLists.txt<br>18&gt;CMake is re-running because C:\qt-gstreamer_git\build\examples\appsink-src\CMakeFiles\generate.stamp is out-of-date.<br>

18&gt;  the file &#39;C:/qt-gstreamer_git/examples/appsink-src/CMakeLists.txt&#39;<br>18&gt;  is newer than &#39;C:\qt-gstreamer_git\build\examples\appsink-src\CMakeFiles\generate.stamp.depend&#39;<br>18&gt;  result=&#39;-1&#39;<br>

18&gt;-- checking for module &#39;gstreamer-0.10&#39;<br>18&gt;--   package &#39;gstreamer-0.10&#39; not found<br>18&gt;-- checking for module &#39;gstreamer-base-0.10&#39;<br>18&gt;--   package &#39;gstreamer-base-0.10&#39; not found<br>

18&gt;-- Performing Test GSTREAMER_VERSION_COMPATIBLE<br>17&gt;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&gt;-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success<br>18&gt;-- checking for module &#39;gstreamer-plugins-base-0.10&#39;<br>18&gt;--   package &#39;gstreamer-plugins-base-0.10&#39; not found<br>18&gt;-- checking for module &#39;gstreamer-app-0.10&#39;<br>

18&gt;--   package &#39;gstreamer-app-0.10&#39; not found<br>18&gt;-- checking for module &#39;gstreamer-interfaces-0.10&#39;<br>18&gt;--   package &#39;gstreamer-interfaces-0.10&#39; not found<br>18&gt;-- checking for module &#39;gstreamer-video-0.10&#39;<br>

18&gt;--   package &#39;gstreamer-video-0.10&#39; not found<br>18&gt;-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)<br>18&gt;-----------------------------------------------------------------------------<br>18&gt;-- The following external packages were located on your system.<br>

18&gt;-- This installation will have the extra features provided by these packages.<br>18&gt;-----------------------------------------------------------------------------<br><br><br>FOURTH:<br>18&gt;-----------------------------------------------------------------------------<br>

18&gt;   * Doxygen  &lt;<a href="http://www.doxygen.org/" target="_blank">http://www.doxygen.org/</a>&gt;<br>18&gt;     Used to generate the API documentation<br>18&gt;-----------------------------------------------------------------------------<br>

18&gt;-- Configuring done<br>18&gt;-- Generating done<br>18&gt;-- Build files have been written to: C:/qt-gstreamer_git/build<br>18&gt;Compiling...<br>18&gt;main.cpp<br>17&gt;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&gt;Compiling manifest to resources...<br>18&gt;Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>18&gt;Copyright (C) Microsoft Corporation.  All rights reserved.<br>

18&gt;Linking...<br>18&gt;LINK : fatal error LNK1104: cannot open file &#39;..\..\src\QGst\Debug\QtGStreamerUtils-0.10.lib&#39;<br>18&gt;Build log was saved at &quot;file://c:\qt-gstreamer_git\build\examples\appsink-src\appsink-src.dir\Debug\BuildLog.htm&quot;<br>

18&gt;appsink-src - 1 error(s), 0 warning(s)<br>17&gt;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&gt;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&gt;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&gt;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&gt;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&gt;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&gt;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&gt;CMake Error: Remove failed on file: C:/qt-gstreamer_git/build/CMakeFiles/CMakeTmp/src.cxx: System Error: No such file or directory<br>

17&gt;-- Performing Test GSTREAMER_VERSION_COMPATIBLE - Success<br>17&gt;-- checking for module &#39;gstreamer-plugins-base-0.10&#39;<br>17&gt;--   package &#39;gstreamer-plugins-base-0.10&#39; not found<br>17&gt;-- checking for module &#39;gstreamer-app-0.10&#39;<br>

17&gt;--   package &#39;gstreamer-app-0.10&#39; not found<br>17&gt;-- checking for module &#39;gstreamer-interfaces-0.10&#39;<br>17&gt;--   package &#39;gstreamer-interfaces-0.10&#39; not found<br>17&gt;-- checking for module &#39;gstreamer-video-0.10&#39;<br>

17&gt;--   package &#39;gstreamer-video-0.10&#39; not found<br>17&gt;-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)<br>17&gt;-----------------------------------------------------------------------------<br>17&gt;-- The following external packages were located on your system.<br>

17&gt;-- This installation will have the extra features provided by these packages.<br>17&gt;-----------------------------------------------------------------------------<br>17&gt;   * GStreamer - Required to build QtGStreamer<br>

17&gt;   * GStreamer base library - Used for building the qwidgetvideosink element<br>17&gt;   * GStreamer app library - Required to build QtGStreamerUtils<br>17&gt;   * GStreamer interfaces library - Required to build QtGStreamer<br>

17&gt;   * GStreamer video library - Used for building the qwidgetvideosink element<br>17&gt;   * GLib - Required to build QtGLib<br>17&gt;   * GObject - Required to build QtGLib<br>17&gt;-----------------------------------------------------------------------------<br>

17&gt;-- The following OPTIONAL packages could NOT be located on your system.<br>17&gt;-- Consider installing them to enable more features from this software.<br>17&gt;-----------------------------------------------------------------------------<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">&lt;<a href="mailto:kiagiadakis.george@gmail.com" target="_blank">kiagiadakis.george@gmail.com</a>&gt;</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 &lt;<a href="mailto:maxphil@gmail.com" target="_blank">maxphil@gmail.com</a>&gt; wrote:<br>


&gt; Before we close this thread permanently, I need one last help from you guys.<br>
&gt;<br>
&gt; After successfully building Qt-Gstreamer on Windows I noticed that<br>
&gt; examples/player doesn&#39;t work right out of the box. Upon execution I get an<br>
&gt; error saying &quot;Failed to start in pull mode&quot;, &quot;Could not open resource for<br>
&gt; reading&quot;, &quot;No URI set&quot;.<br>
&gt;<br>
&gt; I found a thread on the mailing list from last month where a user had<br>
&gt; reported this issue but he forgot to mention how to do the fix:<br>
&gt; <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>
&gt;<br>
&gt; 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>