Luya Tshimbalanga venit, vidit, dixit 2023-11-24 01:45:37:
> Hello team,
> Blender 4.0.1 failed to build on both aarch64 and ppc64le on the following lines:
> ```
> /builddir/build/BUILD/blender/intern/cycles/blender/attribute_convert.h:69:44: error:
cannot convert ‘ccl::float4’ to ‘float’
> 69 | return color_srgb_to_linear(make_float4(byte_to_float(value[0]),
> | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | ccl::float4
> 70 | byte_to_float(value[1]),
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> 71 | byte_to_float(value[2]),
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> 72 | byte_to_float(value[3])));
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from
/builddir/build/BUILD/blender/intern/cycles/blender/attribute_convert.h:9:
> /builddir/build/BUILD/blender/intern/cycles/util/color.h:62:45: note: initializing
argument 1 of ‘float ccl::color_srgb_to_linear(float)’
> 62 | ccl_device float color_srgb_to_linear(float c)
> | ~~~~~~^
> ```
> while the previous version 3.6.5 worked as intendedd and x86_64 is unaffected. Could
someone running the above architecture addressing the issue please?
>
Seehttps://copr.fedorainfracloud.org/coprs/g/designsuite/blender/build/66...
Hi Luya,
looks like this one:
https://projects.blender.org/blender/blender/pulls/115098
The backport seems to be this one:
https://projects.blender.org/blender/blender/commit/641b7808f24fa6eae593d...
So it will be in 4.0.2.
Cheers,
Michael
Hi Michael,
Thank you for the link. The build is on the way