<div dir="ltr">I&#39;ve just committed more tweaks, please give them a try.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 9, 2017 at 12:55 PM, Thomas Krebs <span dir="ltr">&lt;<a href="mailto:Thomas.Krebs@mecadtron.de" target="_blank">Thomas.Krebs@mecadtron.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sergey,<br>
<br>
The previous problem is gone.<br>
Now I got:<br>
<br>
1&gt;opencl\opencl_split.cpp(122)<wbr>: error C3646: &quot;offset&quot;: Unbekannter<br>
Überschreibungsspezifizierer<br>
1&gt;opencl\opencl_split.cpp(122)<wbr>: error C4430: Fehlender Typspezifizierer<br>
- int wird angenommen. Hinweis: &quot;default-int&quot; wird von C++ nicht<br>
unterstützt.<br>
<br>
Seems that ulong is not defined.<br>
In util_types.h I can only find a uint and ushort. Maybe it is missing<br>
there?<br>
<br>
Thomas<br>
<span class=""><br>
Am 09.08.2017 um 12:22 schrieb Sergey Sharybin:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Please get latest Cycles sources. I&#39;ve just synchronized all fixes from<br>
&gt; yesterday which might affect on your issue.<br>
&gt;<br>
&gt; On Wed, Aug 9, 2017 at 12:14 PM, Stefan Werner &lt;<a href="mailto:stewreo@gmail.com">stewreo@gmail.com</a><br>
</span><span class="">&gt; &lt;mailto:<a href="mailto:stewreo@gmail.com">stewreo@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi Thomas,<br>
&gt;<br>
&gt;     is that an error that you get from building Cycles itself or is that<br>
&gt;     an error that you see when you include the Cycles headers in your<br>
&gt;     own code? If it is the latter, do you have CCL_NAMESPACE_BEGIN and<br>
&gt;     CCL_NAMESPACE_END defined?<br>
&gt;<br>
&gt;     -Stefan<br>
&gt;<br>
&gt;     &gt; On 9. Aug 2017, at 12:10, Thomas Krebs &lt;<a href="mailto:Thomas.Krebs@mecadtron.de">Thomas.Krebs@mecadtron.de</a><br>
</span><div><div class="h5">&gt;     &lt;mailto:<a href="mailto:Thomas.Krebs@mecadtron.de">Thomas.Krebs@<wbr>mecadtron.de</a>&gt;&gt; wrote:<br>
&gt;     &gt;<br>
&gt;     &gt; Hi,<br>
&gt;     &gt;<br>
&gt;     &gt; We use cycles on Windows using VC12/14.<br>
&gt;     &gt; With some recent changes we got compile problems.<br>
&gt;     &gt; The problem is that we get (german language):<br>
&gt;     &gt;<br>
&gt;     &gt; 1&gt;I:\tools\cycles\src\util/<wbr>util_simd.h(367): error C2668:<br>
&gt;     &gt; &quot;ccl::_mm_blendv_ps&quot;: Mehrdeutiger Aufruf einer überladenen Funktion<br>
&gt;     &gt; 1&gt;  I:\tools\cycles\src\util/util_<wbr>simd.h(361): note: kann &quot;__m128<br>
&gt;     &gt; ccl::_mm_blendv_ps(__m128,__<wbr>m128,__m128)&quot; sein<br>
&gt;     &gt; 1&gt;  C:\Program Files (x86)\Microsoft Visual Studio<br>
&gt;     &gt; 14.0\VC\include\smmintrin.h(<wbr>96): note: oder &quot;__m128<br>
&gt;     &gt; _mm_blendv_ps(__m128,__m128,__<wbr>m128)&quot; [bei der Verwendung der<br>
&gt;     &gt; argumentbezogenen Suche gefunden]<br>
&gt;     &gt; 1&gt;  I:\tools\cycles\src\util/util_<wbr>simd.h(367): note: bei Anpassung der<br>
&gt;     &gt; Argumentliste &quot;(__m128, __m128, const __m128)&quot;<br>
&gt;     &gt; 1&gt;I:\tools\cycles\src\util/<wbr>util_simd.h(377): error C2668:<br>
&gt;     &gt; &quot;ccl::_mm_blendv_epi8&quot;: Mehrdeutiger Aufruf einer überladenen Funktion<br>
&gt;     &gt; 1&gt;  I:\tools\cycles\src\util/util_<wbr>simd.h(371): note: kann &quot;__m128i<br>
&gt;     &gt; ccl::_mm_blendv_epi8(__m128i,_<wbr>_m128i,__m128i)&quot; sein<br>
&gt;     &gt; 1&gt;  C:\Program Files (x86)\Microsoft Visual Studio<br>
&gt;     &gt; 14.0\VC\include\smmintrin.h(<wbr>90): note: oder &quot;__m128i<br>
&gt;     &gt; _mm_blendv_epi8(__m128i,__<wbr>m128i,__m128i)&quot; [bei der Verwendung der<br>
&gt;     &gt; argumentbezogenen Suche gefunden]<br>
&gt;     &gt; 1&gt;  I:\tools\cycles\src\util/util_<wbr>simd.h(377): note: bei Anpassung der<br>
&gt;     &gt; Argumentliste &quot;(__m128i, __m128i, __m128i)&quot;<br>
&gt;     &gt; 1&gt;I:\tools\cycles\src\util/<wbr>util_simd.h(382): error C2668:<br>
&gt;     &gt; &quot;ccl::_mm_blendv_epi8&quot;: Mehrdeutiger Aufruf einer überladenen Funktion<br>
&gt;     &gt; 1&gt;  I:\tools\cycles\src\util/util_<wbr>simd.h(371): note: kann &quot;__m128i<br>
&gt;     &gt; ccl::_mm_blendv_epi8(__m128i,_<wbr>_m128i,__m128i)&quot; sein<br>
&gt;     &gt; 1&gt;  C:\Program Files (x86)\Microsoft Visual Studio<br>
&gt;     &gt; 14.0\VC\include\smmintrin.h(<wbr>90): note: oder &quot;__m128i<br>
&gt;     &gt; _mm_blendv_epi8(__m128i,__<wbr>m128i,__m128i)&quot; [bei der Verwendung der<br>
&gt;     &gt; argumentbezogenen Suche gefunden]<br>
&gt;     &gt; 1&gt;  I:\tools\cycles\src\util/util_<wbr>simd.h(382): note: bei Anpassung der<br>
&gt;     &gt; Argumentliste &quot;(__m128i, __m128i, __m128i)&quot;<br>
&gt;     &gt;<br>
&gt;     &gt; There are three functions in util_simd.h that are similarily available<br>
&gt;     &gt; in some VC headers as well.<br>
&gt;     &gt; If I set a preprocessor define &quot;__SSE4_1__&quot; that is checked in<br>
&gt;     line 350<br>
&gt;     &gt; then I can compile everything. But why do I need to do that? So far I<br>
&gt;     &gt; didn&#39;t set any defines..<br>
&gt;     &gt; Is this an oversight?<br>
&gt;     &gt;<br>
&gt;     &gt; Thomas<br>
&gt;     &gt; --<br>
&gt;     &gt; Mecadtron GmbH<br>
&gt;     &gt; Sitz der Gesellschaft: Nürnberg<br>
&gt;     &gt; Amtsgericht Nürnberg, HRB20209<br>
&gt;     &gt; Geschäftsführer: Dr. Thomas Krebs<br>
&gt;     &gt; Allersberger Str. 185<br>
&gt;     &gt; 90461 Nürnberg<br>
&gt;     &gt; Germany<br>
&gt;     &gt; Tel.: +49 911 462369-0<br>
&gt;     &gt; Fax:  +49 911 462369-11<br>
</div></div>&gt;     &gt; <a href="http://www.mecadtron.de" rel="noreferrer" target="_blank">www.mecadtron.de</a> &lt;<a href="http://www.mecadtron.de" rel="noreferrer" target="_blank">http://www.mecadtron.de</a>&gt;<br>
&gt;     &gt; <a href="http://www.mecadtron.com" rel="noreferrer" target="_blank">www.mecadtron.com</a> &lt;<a href="http://www.mecadtron.com" rel="noreferrer" target="_blank">http://www.mecadtron.com</a>&gt;<br>
&gt;     &gt; ______________________________<wbr>_________________<br>
&gt;     &gt; Bf-cycles mailing list<br>
&gt;     &gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a> &lt;mailto:<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>&gt;<br>
&gt;     &gt; <a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a><br>
<span class="">&gt;     &lt;<a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a>&gt;<br>
&gt;<br>
&gt;     ______________________________<wbr>_________________<br>
&gt;     Bf-cycles mailing list<br>
</span>&gt;     <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a> &lt;mailto:<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>&gt;<br>
&gt;     <a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a><br>
<span class="im HOEnZb">&gt;     &lt;<a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; With best regards, Sergey Sharybin<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Bf-cycles mailing list<br>
&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt; <a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a><br>
&gt;<br>
<br>
<br>
--<br>
</span><div class="HOEnZb"><div class="h5">Mecadtron GmbH<br>
Sitz der Gesellschaft: Nürnberg<br>
Amtsgericht Nürnberg, HRB20209<br>
Geschäftsführer: Dr. Thomas Krebs<br>
Allersberger Str. 185<br>
90461 Nürnberg<br>
Germany<br>
Tel.: <a href="tel:%2B49%20911%20462369-0" value="+499114623690">+49 911 462369-0</a><br>
Fax:  <a href="tel:%2B49%20911%20462369-11" value="+4991146236911">+49 911 462369-11</a><br>
<a href="http://www.mecadtron.de" rel="noreferrer" target="_blank">www.mecadtron.de</a><br>
<a href="http://www.mecadtron.com" rel="noreferrer" target="_blank">www.mecadtron.com</a><br>
______________________________<wbr>_________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div><span style="color:rgb(102,102,102)">With best regards, Sergey Sharybin</span></div></div>
</div>