error LNK2005: __ ucrt _ int _ to _ float has been defined in itktiff-6.0.lib (tif_ aux.obj)

error LNK2005: __ ucrt _ int _ to _ float has been defined in itktiff-6.0.lib (tif_ aux.obj)

Is this during ITK compilation, or during your own program compilation? Did you use built-in libTIFF, or did you use a “system” one? Which Visual Studio are you using?

Which version of VS? I assume this is a clean build, with v5.4.0 tag?

vs2022 community version / itk v5.4.0tag

I compiled that recently, without issues. Is your VS fully updated? Which version of CMake do you use?

Yes,my vs fully updated ,current version is 17.10.4;
version of CMake is 3.30.0,platform for generator is x64;
I find the include file <math.h> in tif_color.c and tif_luv.c caused the problem of redefining symbole in tif_aux.c,i comment the code(# include <math.h>) in tif_color.c and tif_luv.c, the problem disapeared.