Thanks Axel,
I tried that and still received errors.
cmake -G "Visual Studio 16 2019" -A Win32 -Thost=x64 -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_STANDARD=14 -Droofit=ON -Dfftw3=ON -DFFTW_INCLUDE_DIR=D:\fftw -DFFTW_LIBRARY=D:\fftw\libfftw3-3.lib D:\root-6.22.02-source > ..\cmake-output-2.txt
I think configuration and generating went without errors cmake-output-2.txt (10.1 KB)
cmake --build . --config Release -- /maxcpucount > ..\cmake-build-2.txt
and here were errors cmake-build-2.txt (1.4 MB)
Here is my configuration of VS
I followed Run ROOT 6.19.02 on Windows 10
and I read Building and Executing ROOT6 on Windows with VS2019
but I do not see encoding related errors.