[Bf-cycles] compile issues with recent changes

Thomas Krebs Thomas.Krebs at mecadtron.de
Wed Aug 9 12:55:19 CEST 2017


Sergey,

The previous problem is gone.
Now I got:

1>opencl\opencl_split.cpp(122): error C3646: "offset": Unbekannter 
Überschreibungsspezifizierer
1>opencl\opencl_split.cpp(122): error C4430: Fehlender Typspezifizierer 
- int wird angenommen. Hinweis: "default-int" wird von C++ nicht 
unterstützt.

Seems that ulong is not defined.
In util_types.h I can only find a uint and ushort. Maybe it is missing 
there?

Thomas

Am 09.08.2017 um 12:22 schrieb Sergey Sharybin:
> Hi,
>
> Please get latest Cycles sources. I've just synchronized all fixes from
> yesterday which might affect on your issue.
>
> On Wed, Aug 9, 2017 at 12:14 PM, Stefan Werner <stewreo at gmail.com
> <mailto:stewreo at gmail.com>> wrote:
>
>     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
>     <mailto: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 <http://www.mecadtron.de>
>     > www.mecadtron.com <http://www.mecadtron.com>
>     > _______________________________________________
>     > Bf-cycles mailing list
>     > Bf-cycles at blender.org <mailto:Bf-cycles at blender.org>
>     > https://lists.blender.org/mailman/listinfo/bf-cycles
>     <https://lists.blender.org/mailman/listinfo/bf-cycles>
>
>     _______________________________________________
>     Bf-cycles mailing list
>     Bf-cycles at blender.org <mailto:Bf-cycles at blender.org>
>     https://lists.blender.org/mailman/listinfo/bf-cycles
>     <https://lists.blender.org/mailman/listinfo/bf-cycles>
>
>
>
>
> --
> With best regards, Sergey Sharybin
>
>
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> https://lists.blender.org/mailman/listinfo/bf-cycles
>


-- 
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


More information about the Bf-cycles mailing list