Please read tips for efficient and successful posting and posting code
_ROOT Version: 6.22.02
_Platform: Windows 10
_Compiler: Visual Studio Community 2019
16.7.6
Hello, ROOT community,
I tried to build rood after reading
and was unsuccessful.
I started x86 Native Tools Command Prompt for VS 2019, created and changed to
D:\root-6.22.02-build
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-1-22.02.txt
The output is herecmake-output-1-22.02.txt (10.1 KB)
Everything is configured and generated well.
Then, I do
cmake --build . --config Release -- /maxcpucount > ..\cmake-build-1-22.02.txt
cmake-build-1-22.02.txt (1.4 MB)
There are 6 errors:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\\include\utility(137,9): error G08EB1F86: expected member name or ';' after declaration specifiers [D:\root-6.22.02-build\core\G__Core.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\\include\utility(137,9): error GC66A3811: expected ')' [D:\root-6.22.02-build\core\G__Core.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\\include\utility(218,24): error G08EB1F86: expected member name or ';' after declaration specifiers [D:\root-6.22.02-build\core\G__Core.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\\include\utility(218,24): error GC66A3811: expected ')' [D:\root-6.22.02-build\core\G__Core.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\\include\xutility(63,31): error G959205E0: '_To' does not refer to a value [D:\root-6.22.02-build\core\G__Core.vcxproj]
CUSTOMBUILD : error : Error loading the default header files. [D:\root-6.22.02-build\core\G__Core.vcxproj]
I tried to convert
D:\root-6.22.02-source\graf2d\win32gdk\gdk\src\glib\gunichartables.h to UTF 8 with BOM
configure and build again, and I have got the same 6 errors.
Here are the output of configure and build
cmake-output-1-22.02.txt (10.1 KB) cmake-build-2-22.02.txt (1.4 MB)
Could you help me solve the problem?
Anton