<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 30/09/15 10:38, Gordon Nickel wrote:<br>
    <blockquote
cite="mid:%3Cf724f91173b2459ca5e315e257829250@MBX13C-ORD1.mex06.mlsrvr.com%3E"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I'm attempting to use the gl api for
          playback in a C++ app, and getting a wall of compile errors
          when I include gst/gl/gl.h using 1.6.0 in Windows with VS2013.
          The error is:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Consolas;color:#1E1E1E;background:white;mso-highlight:white">1>c:\gstreamer\1.0\x86\include\gstreamer-1.0\gst\gl\glprototypes\base.h(51):
            error C2059: syntax error : '('<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Consolas;color:#1E1E1E;background:white;mso-highlight:white">1>c:\gstreamer\1.0\x86\include\gstreamer-1.0\gst\gl\glprototypes\base.h(51):
            error C2238: unexpected token(s) preceding ';'</span><o:p></o:p></p>
        <p class="MsoNormal"><br>
          Which points to this line (and every other line using
          GST_GL_EXT_FUNCTION):<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:Consolas;color:#6F008A">GST_GL_EXT_FUNCTION</span><span
            style="font-size:10.0pt;font-family:Consolas;color:black"> (</span><span
            style="font-size:10.0pt;font-family:Consolas;color:blue">void</span><span
            style="font-size:10.0pt;font-family:Consolas;color:black">, BindTexture,<o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:Consolas;color:black">                     (</span><span
            style="font-size:10.0pt;font-family:Consolas;color:#216F85">GLenum</span><span
            style="font-size:10.0pt;font-family:Consolas;color:black"> </span><span
            style="font-size:10.0pt;font-family:Consolas;color:#216F85">target</span><span
            style="font-size:10.0pt;font-family:Consolas;color:black">, </span><span
            style="font-size:10.0pt;font-family:Consolas;color:#216F85">GLuint</span><span
            style="font-size:10.0pt;font-family:Consolas;color:black"> </span><span
            style="font-size:10.0pt;font-family:Consolas;color:navy">texture</span><span
            style="font-size:10.0pt;font-family:Consolas;color:black">))<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I've double-checked all the include paths -
          is there something I'm missing?
          <o:p></o:p></p>
        <o:p> </o:p></div>
    </blockquote>
    <br>
    Nothing comes to mind off the top of my head.  A simple c++
    application that just performs #include <gst/gl/gl.h> works
    with both g++ and gcc fine so I'm not sure what the problem could be
    without seeing code/more errors.  Of course the real error could be
    somewhere else that's confusing the preprocessor into generating bad
    code. You could try examining the preprocessor's output see <a
      href="https://msdn.microsoft.com/en-us/library/8z9z0bx6.aspx"><a class="moz-txt-link-freetext" href="https://msdn.microsoft.com/en-us/library/8z9z0bx6.aspx">https://msdn.microsoft.com/en-us/library/8z9z0bx6.aspx</a></a>.<br>
    <br>
    Cheers<br>
    -Matt<br>
    <br>
    <blockquote
cite="mid:%3Cf724f91173b2459ca5e315e257829250@MBX13C-ORD1.mex06.mlsrvr.com%3E"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal">Thanks!<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">Gordon
              Nickel</span></b><span
            style="font-size:10.5pt;color:black"><br>
          </span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">Lead
            Developer</span><span style="font-size:10.5pt;color:black"><br>
            <br>
          </span><b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">downstream</span></b><span
            style="font-size:10.5pt;color:black"><br>
          </span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">1624
            NW Johnson Street</span><span
            style="font-size:10.5pt;color:black"><br>
          </span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">Portland,
            OR 97209, USA</span><span
            style="font-size:10.5pt;color:black"><br>
            <br>
          </span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">503.226.1944
            main</span><span style="font-size:10.5pt;color:black"><br>
          </span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">503.226.1283
            fax</span><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>