[Bf-cycles] compile issues with recent changes

Stefan Werner stewreo at gmail.com
Wed Aug 9 12:14:45 CEST 2017


Hi Thomas,

is that an error that you get from building Cycles itself or is that an error that you see when you include the Cycles headers in your own code? If it is the latter, do you have CCL_NAMESPACE_BEGIN and CCL_NAMESPACE_END defined?

-Stefan

> On 9. Aug 2017, at 12:10, Thomas Krebs <Thomas.Krebs at mecadtron.de> wrote:
> 
> Hi,
> 
> We use cycles on Windows using VC12/14.
> With some recent changes we got compile problems.
> The problem is that we get (german language):
> 
> 1>I:\tools\cycles\src\util/util_simd.h(367): error C2668: 
> "ccl::_mm_blendv_ps": Mehrdeutiger Aufruf einer überladenen Funktion
> 1>  I:\tools\cycles\src\util/util_simd.h(361): note: kann "__m128 
> ccl::_mm_blendv_ps(__m128,__m128,__m128)" sein
> 1>  C:\Program Files (x86)\Microsoft Visual Studio 
> 14.0\VC\include\smmintrin.h(96): note: oder "__m128 
> _mm_blendv_ps(__m128,__m128,__m128)" [bei der Verwendung der 
> argumentbezogenen Suche gefunden]
> 1>  I:\tools\cycles\src\util/util_simd.h(367): note: bei Anpassung der 
> Argumentliste "(__m128, __m128, const __m128)"
> 1>I:\tools\cycles\src\util/util_simd.h(377): error C2668: 
> "ccl::_mm_blendv_epi8": Mehrdeutiger Aufruf einer überladenen Funktion
> 1>  I:\tools\cycles\src\util/util_simd.h(371): note: kann "__m128i 
> ccl::_mm_blendv_epi8(__m128i,__m128i,__m128i)" sein
> 1>  C:\Program Files (x86)\Microsoft Visual Studio 
> 14.0\VC\include\smmintrin.h(90): note: oder "__m128i 
> _mm_blendv_epi8(__m128i,__m128i,__m128i)" [bei der Verwendung der 
> argumentbezogenen Suche gefunden]
> 1>  I:\tools\cycles\src\util/util_simd.h(377): note: bei Anpassung der 
> Argumentliste "(__m128i, __m128i, __m128i)"
> 1>I:\tools\cycles\src\util/util_simd.h(382): error C2668: 
> "ccl::_mm_blendv_epi8": Mehrdeutiger Aufruf einer überladenen Funktion
> 1>  I:\tools\cycles\src\util/util_simd.h(371): note: kann "__m128i 
> ccl::_mm_blendv_epi8(__m128i,__m128i,__m128i)" sein
> 1>  C:\Program Files (x86)\Microsoft Visual Studio 
> 14.0\VC\include\smmintrin.h(90): note: oder "__m128i 
> _mm_blendv_epi8(__m128i,__m128i,__m128i)" [bei der Verwendung der 
> argumentbezogenen Suche gefunden]
> 1>  I:\tools\cycles\src\util/util_simd.h(382): note: bei Anpassung der 
> Argumentliste "(__m128i, __m128i, __m128i)"
> 
> There are three functions in util_simd.h that are similarily available
> in some VC headers as well.
> If I set a preprocessor define "__SSE4_1__" that is checked in line 350
> then I can compile everything. But why do I need to do that? So far I 
> didn't set any defines..
> Is this an oversight?
> 
> Thomas
> -- 
> Mecadtron GmbH
> Sitz der Gesellschaft: Nürnberg
> Amtsgericht Nürnberg, HRB20209
> Geschäftsführer: Dr. Thomas Krebs
> Allersberger Str. 185
> 90461 Nürnberg
> Germany
> Tel.: +49 911 462369-0
> Fax:  +49 911 462369-11
> www.mecadtron.de
> www.mecadtron.com
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> https://lists.blender.org/mailman/listinfo/bf-cycles



More information about the Bf-cycles mailing list