<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><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:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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]--></head><body lang=ZH-CN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>You may need to try the opencl-1.2 branch. As the master branch is using the 1.1 header files, the ICD extension need the 1.2 header files.<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></a></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> beignet-bounces+zhigang.gong=linux.intel.com@lists.freedesktop.org [mailto:beignet-bounces+zhigang.gong=linux.intel.com@lists.freedesktop.org] <b>On Behalf Of </b>I.T. Daniher<br><b>Sent:</b> Monday, August 19, 2013 10:08 AM<br><b>To:</b> beignet@lists.freedesktop.org<br><b>Subject:</b> [Beignet] (Still) having issues building beignet.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US><a href="http://itdaniher.com/p?nMoD">http://itdaniher.com/p?nMoD</a><o:p></o:p></span></p><div><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US style='color:black'>[ 22%] Built target gbe<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>[ 22%] Building C object src/CMakeFiles/cl.dir/cl_khr_icd.c.o<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>In file included from /home/it/Downloads/beignet/src/cl_khr_icd.c:18:0:<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>/usr/local/include/ocl_icd.h:746:5: error: unknown type name ‘cl_device_partition_property’<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>     const cl_device_partition_property * /* properties */,<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>     ^<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>/usr/local/include/ocl_icd.h:750:5: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘CL_API_SUFFIX__VERSION_1_2’<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>   ) CL_API_SUFFIX__VERSION_1_2;<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>     ^<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>make[2]: *** [src/CMakeFiles/cl.dir/cl_khr_icd.c.o] Error 1<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>make[1]: *** [src/CMakeFiles/cl.dir/all] Error 2<o:p></o:p></span></pre><pre><span lang=EN-US style='color:black'>make: *** [all] Error 2<o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US style='color:black'><o:p> </o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US style='color:black'>Any ideas?<o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US style='color:black'><o:p> </o:p></span></pre><pre><span lang=EN-US style='color:black'><o:p> </o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US style='color:black'>Thanks!<o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US style='color:black'>--<o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US style='color:black'><o:p> </o:p></span></pre><pre><span lang=EN-US style='color:black'>Ian<o:p></o:p></span></pre></div></div></div></body></html>