I have successfully compiled QtGstreamer on Windows using VS2008, and examples/player works fine after the patch suggested by George in <a href="http://lists.freedesktop.org/archives/gstreamer-devel/2011-December/034351.html">http://lists.freedesktop.org/archives/gstreamer-devel/2011-December/034351.html</a><br>
<br>Now I&#39;m having problems writting a minimal application that has &quot;#include &lt;QGst/Utils/ApplicationSink&gt;&quot; because it causes the compilation to fail with the following error:<br><br>    c:\qt-gstreamer\install\include\qtgstreamer\qgst\utils\applicationsink.h(21) : fatal error C1083: Cannot open include file: &#39;global.h&#39;: No such file or directory<br>
<br>Looking at applicationsink.h reveals that it is including global.h as a local file:<br><br>    #ifndef QGST_UTILS_APPLICATIONSINK_H<br>    #define QGST_UTILS_APPLICATIONSINK_H<br><br>    #include &quot;global.h&quot;             // &lt;------ error<br>
    #include &quot;../element.h&quot;<br>    #include &quot;../bufferlist.h&quot;<br><br>The problem seems to be that there&#39;s NO global.h at the same directory as applicationsink.h. <br><br>Nevertheless, there&#39;s a global.h at the directory above, so if I updated this file accordingly:<br>
<br>    #ifndef QGST_UTILS_APPLICATIONSINK_H<br>
    #define QGST_UTILS_APPLICATIONSINK_H<br>
<br>
    #include &quot;../global.h&quot;             // &lt;------ another error<br>
    #include &quot;../element.h&quot;<br>
    #include &quot;../bufferlist.h&quot;<br><br>Visual Studio throws another error:<br><br>1&gt;------ Build started: Project: qt-gstreamer_test, Configuration: Debug Win32 ------<br>1&gt;Compiling...<br>1&gt;main.cpp<br>
1&gt;c:\qt-gstreamer\install\include\qtgstreamer\qgst\utils\applicationsink.h(67) : error C2470: &#39;ApplicationSink&#39; : looks like a function definition, but there is no parameter list; skipping apparent body<br>1&gt;Build log was saved at &quot;file://c:\Documents and Settings\karl.phillip\Meus documentos\Visual Studio 2008\Projects\qt-gstreamer_test\qt-gstreamer_test\Debug\BuildLog.htm&quot;<br>
1&gt;qt-gstreamer_test - 1 error(s), 0 warning(s)<br>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br><br><br>The same problems happens with applicationsource.h.<br><br><br>Any tips?<br><br>Thanks guys,<br>
--<br>Karl Phillip<br>