I'm building the blender with CUDA and optix on ubuntu18.04,RTX2080 super. The optiX version is 7.3.0, and the C++ compiler is gcc 9.4. But the code produces 2 errors:
'function "rgb_to_spectrum" has already been defined'
'function "spectrum_to_gray" has already been defined'
I find that in 'blender/intern/cycles/kernel/util/color.h' the function"rgb_to_spectrum" and "spectrum_to_gray" are defined twice with different input type. when I comment out one of the definitions, it produces other new errors. Just want to know how to solve the error. Thanks.
I'm building the blender with CUDA and optix on ubuntu18.04,RTX2080 super. The optiX version is 7.3.0, and the C++ compiler is gcc 9.4. But the code produces 2 errors:
I find that in 'blender/intern/cycles/kernel/util/color.h' the function"rgb_to_spectrum" and "spectrum_to_gray" are defined twice with different input type. when I comment out one of the definitions, it produces other new errors. Just want to know how to solve the error. Thanks.