<div dir="ltr">I'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"><<a href="mailto:Thomas.Krebs@mecadtron.de" target="_blank">Thomas.Krebs@mecadtron.de</a>></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>opencl\opencl_split.cpp(122)<wbr>: error C3646: "offset": Unbekannter<br>
Überschreibungsspezifizierer<br>
1>opencl\opencl_split.cpp(122)<wbr>: error C4430: Fehlender Typspezifizierer<br>
- int wird angenommen. Hinweis: "default-int" 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>
> Hi,<br>
><br>
> Please get latest Cycles sources. I've just synchronized all fixes from<br>
> yesterday which might affect on your issue.<br>
><br>
> On Wed, Aug 9, 2017 at 12:14 PM, Stefan Werner <<a href="mailto:stewreo@gmail.com">stewreo@gmail.com</a><br>
</span><span class="">> <mailto:<a href="mailto:stewreo@gmail.com">stewreo@gmail.com</a>>> wrote:<br>
><br>
> Hi Thomas,<br>
><br>
> is that an error that you get from building Cycles itself or is that<br>
> an error that you see when you include the Cycles headers in your<br>
> own code? If it is the latter, do you have CCL_NAMESPACE_BEGIN and<br>
> CCL_NAMESPACE_END defined?<br>
><br>
> -Stefan<br>
><br>
> > On 9. Aug 2017, at 12:10, Thomas Krebs <<a href="mailto:Thomas.Krebs@mecadtron.de">Thomas.Krebs@mecadtron.de</a><br>
</span><div><div class="h5">> <mailto:<a href="mailto:Thomas.Krebs@mecadtron.de">Thomas.Krebs@<wbr>mecadtron.de</a>>> wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > We use cycles on Windows using VC12/14.<br>
> > With some recent changes we got compile problems.<br>
> > The problem is that we get (german language):<br>
> ><br>
> > 1>I:\tools\cycles\src\util/<wbr>util_simd.h(367): error C2668:<br>
> > "ccl::_mm_blendv_ps": Mehrdeutiger Aufruf einer überladenen Funktion<br>
> > 1> I:\tools\cycles\src\util/util_<wbr>simd.h(361): note: kann "__m128<br>
> > ccl::_mm_blendv_ps(__m128,__<wbr>m128,__m128)" sein<br>
> > 1> C:\Program Files (x86)\Microsoft Visual Studio<br>
> > 14.0\VC\include\smmintrin.h(<wbr>96): note: oder "__m128<br>
> > _mm_blendv_ps(__m128,__m128,__<wbr>m128)" [bei der Verwendung der<br>
> > argumentbezogenen Suche gefunden]<br>
> > 1> I:\tools\cycles\src\util/util_<wbr>simd.h(367): note: bei Anpassung der<br>
> > Argumentliste "(__m128, __m128, const __m128)"<br>
> > 1>I:\tools\cycles\src\util/<wbr>util_simd.h(377): error C2668:<br>
> > "ccl::_mm_blendv_epi8": Mehrdeutiger Aufruf einer überladenen Funktion<br>
> > 1> I:\tools\cycles\src\util/util_<wbr>simd.h(371): note: kann "__m128i<br>
> > ccl::_mm_blendv_epi8(__m128i,_<wbr>_m128i,__m128i)" sein<br>
> > 1> C:\Program Files (x86)\Microsoft Visual Studio<br>
> > 14.0\VC\include\smmintrin.h(<wbr>90): note: oder "__m128i<br>
> > _mm_blendv_epi8(__m128i,__<wbr>m128i,__m128i)" [bei der Verwendung der<br>
> > argumentbezogenen Suche gefunden]<br>
> > 1> I:\tools\cycles\src\util/util_<wbr>simd.h(377): note: bei Anpassung der<br>
> > Argumentliste "(__m128i, __m128i, __m128i)"<br>
> > 1>I:\tools\cycles\src\util/<wbr>util_simd.h(382): error C2668:<br>
> > "ccl::_mm_blendv_epi8": Mehrdeutiger Aufruf einer überladenen Funktion<br>
> > 1> I:\tools\cycles\src\util/util_<wbr>simd.h(371): note: kann "__m128i<br>
> > ccl::_mm_blendv_epi8(__m128i,_<wbr>_m128i,__m128i)" sein<br>
> > 1> C:\Program Files (x86)\Microsoft Visual Studio<br>
> > 14.0\VC\include\smmintrin.h(<wbr>90): note: oder "__m128i<br>
> > _mm_blendv_epi8(__m128i,__<wbr>m128i,__m128i)" [bei der Verwendung der<br>
> > argumentbezogenen Suche gefunden]<br>
> > 1> I:\tools\cycles\src\util/util_<wbr>simd.h(382): note: bei Anpassung der<br>
> > Argumentliste "(__m128i, __m128i, __m128i)"<br>
> ><br>
> > There are three functions in util_simd.h that are similarily available<br>
> > in some VC headers as well.<br>
> > If I set a preprocessor define "__SSE4_1__" that is checked in<br>
> line 350<br>
> > then I can compile everything. But why do I need to do that? So far I<br>
> > didn't set any defines..<br>
> > Is this an oversight?<br>
> ><br>
> > Thomas<br>
> > --<br>
> > 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.: +49 911 462369-0<br>
> > Fax: +49 911 462369-11<br>
</div></div>> > <a href="http://www.mecadtron.de" rel="noreferrer" target="_blank">www.mecadtron.de</a> <<a href="http://www.mecadtron.de" rel="noreferrer" target="_blank">http://www.mecadtron.de</a>><br>
> > <a href="http://www.mecadtron.com" rel="noreferrer" target="_blank">www.mecadtron.com</a> <<a href="http://www.mecadtron.com" rel="noreferrer" target="_blank">http://www.mecadtron.com</a>><br>
> > ______________________________<wbr>_________________<br>
> > Bf-cycles mailing list<br>
> > <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a> <mailto:<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>
<span class="">> <<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>
><br>
> ______________________________<wbr>_________________<br>
> Bf-cycles mailing list<br>
</span>> <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a> <mailto:<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>
<span class="im HOEnZb">> <<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>
><br>
><br>
><br>
><br>
> --<br>
> With best regards, Sergey Sharybin<br>
><br>
><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>
><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>