Root update error

Sorry, but I donโ€™t think you specified that the method was for 32 bit only.

OK, sorry, here is the complete method:

  • Open a x86 Native Tools Command Prompt for VS 2019 (and not a x64 one)
  • Configure with:
    cmake -G "Visual Studio 16 2019" -A Win32 -Thost=x64 [C:\wherever\the\ROOT\sources are]
    
  • Build with: cmake --build . --config Debug

Can this be causing problems. its the error file while configuring the source with CMake.
CMakeError.txt (70.5 KB)

Can you try the recipe I just sent? I build ROOT on Windows every day with different configurations without any problemโ€ฆ

C:\Windows\System32>cmake -G โ€œVisual Studio 16 2019โ€ -A Win32 -Thost=x64 C:\Users\akasp\Downloads\root_v6.20.00.source\root-6.20.00
โ€“ Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
โ€“ The C compiler identification is unknown
โ€“ The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:24 (project):
No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:24 (project):
No CMAKE_CXX_COMPILER could be found.

โ€“ Configuring incomplete, errors occurred!
See also โ€œC:/Windows/System32/CMakeFiles/CMakeOutput.logโ€.
See also โ€œC:/Windows/System32/CMakeFiles/CMakeError.logโ€.

Do you really want to build ROOT in C:\Windows\System32?
Did you open a x86 Native Tools Command Prompt for VS 2019?

Did you use cmake before?

No, I tried to do it in system32 out of confusion after many unsuccessful attempts. No, I did not use cmake before it. I tried it after getting configuration errors. Yes, I did use x86 Native Tools Command Prompt for VS 2019

Apparently notโ€ฆ so here is what to do:

  • Open a x86 Native Tools Command Prompt for VS 2019 (and not a x64 one)
  • Create a directory where you want to build ROOT
  • Go (cd) to this directory
  • Configure with:
cmake -G "Visual Studio 16 2019" -A Win32 -Thost=x64 C:\Users\akasp\Downloads\root_v6.20.00.source\root-6.20.00
  • Build with: cmake --build . --config Debug

c:\Users\akasp\root>cmake -G โ€œVisual Studio 16 2019โ€ -A Win32 -Thost=x64 C:\Users\akasp\Downloads\root_v6.20.00.source\root-6.20.00
โ€“ Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
โ€“ The C compiler identification is MSVC 19.24.28315.0
โ€“ The CXX compiler identification is MSVC 19.24.28315.0
โ€“ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe โ€“ works
โ€“ Detecting C compiler ABI info
โ€“ Detecting C compiler ABI info - done
โ€“ Detecting C compile features
โ€“ Detecting C compile features - done
โ€“ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe โ€“ works
โ€“ Detecting CXX compiler ABI info
โ€“ Detecting CXX compiler ABI info - done
โ€“ Detecting CXX compile features
โ€“ Detecting CXX compile features - done
โ€“ Could NOT find Git (missing: GIT_EXECUTABLE)
โ€“ ROOT default compression algorithm: zlib
โ€“ Looking for pthread.h
โ€“ Looking for pthread.h - not found
โ€“ Found Threads: TRUE
โ€“ Performing Test GLIBCXX_USE_CXX11_ABI
โ€“ Performing Test GLIBCXX_USE_CXX11_ABI - Failed
โ€“ ROOT Platform: win32
โ€“ ROOT Architecture: win32
โ€“ Build Type: (flags = โ€˜โ€™)
โ€“ Compiler Flags: -nologo -IC:/Users/akasp/Downloads/root_v6.20.00.source/root-6.20.00/build/win -FIw32pragma.h -FIsehmap.h -Zc:__cplusplus -MD -GR -EHsc- -W3 -wd4141 -wd4291 -wd4244 -wd4049 -D_WIN32 -D_XKEYCHECK_H -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS
โ€“ Looking for ZLib
โ€“ Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
โ€“ Zlib not found. Switching on builtin_zlib option
โ€“ Looking for Freetype
โ€“ Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
โ€“ FreeType not found. Switching on builtin_freetype option
โ€“ Building freetype version 2.6.1 included in ROOT itself
โ€“ Looking for PCRE
โ€“ Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)
โ€“ PCRE not found. Switching on builtin_pcre option
โ€“ Looking for LZMA
โ€“ Could NOT find LibLZMA (missing: LIBLZMA_LIBRARY LIBLZMA_INCLUDE_DIR LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
โ€“ LZMA not found. Switching on builtin_lzma option
โ€“ Building LZMA version 5.2.4 included in ROOT itself
โ€“ Looking for ZSTD
โ€“ Could NOT find ZSTD (missing: ZSTD_LIBRARIES ZSTD_INCLUDE_DIR ZSTD_VERSION)
โ€“ ZSTD not found. Switching on builtin_zstd option
โ€“ Performing Test C_FLAG_MP
โ€“ Performing Test C_FLAG_MP - Success
โ€“ Performing Test CXX_FLAG_MP
โ€“ Performing Test CXX_FLAG_MP - Success
โ€“ Performing Test C_FLAG_D_UNICODE
โ€“ Performing Test C_FLAG_D_UNICODE - Success
โ€“ Performing Test CXX_FLAG_D_UNICODE
โ€“ Performing Test CXX_FLAG_D_UNICODE - Success
โ€“ Performing Test C_FLAG_DUNICODE
โ€“ Performing Test C_FLAG_DUNICODE - Success
โ€“ Performing Test CXX_FLAG_DUNICODE
โ€“ Performing Test CXX_FLAG_DUNICODE - Success
โ€“ Looking for xxHash
โ€“ Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
โ€“ xxHash not found. Switching on builtin_xxhash option
โ€“ Looking for LZ4
โ€“ Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
โ€“ LZ4 not found. Switching on builtin_lz4 option
โ€“ Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
โ€“ Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
โ€“ Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
โ€“ Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
โ€“ Looking for AfterImage
โ€“ Could NOT find AfterImage (missing: AFTERIMAGE_INCLUDE_DIR AFTERIMAGE_LIBRARIES)
โ€“ AfterImage not found. Switching on builtin_afterimage option
โ€“ Looking for GSL
โ€“ Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
โ€“ Could NOT find GSL: Found unsuitable version โ€œโ€, but required is at least โ€œ1.10โ€ (found GSL_INCLUDE_DIR-NOTFOUND)
โ€“ GSL not found. Set variable GSL_ROOT_DIR to point to your GSL installation
โ€“ Alternatively, you can also enable the option โ€˜builtin_gslโ€™ to build the GSL libraries internallyโ€™
โ€“ For the time being switching OFF โ€˜mathmoreโ€™ option
โ€“ Looking for python
โ€“ Preferring Python version 3
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Python (missing: Python_EXECUTABLE Python_LIBRARY
Python_INCLUDE_DIR Interpreter Development)
Call Stack (most recent call first):
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/FindPython.cmake:246 (find_package_handle_standard_args)
cmake/modules/SearchInstalledSoftware.cmake:15 (_find_package)
cmake/modules/SearchInstalledSoftware.cmake:564 (find_package)
CMakeLists.txt:167 (include)

โ€“ Configuring incomplete, errors occurred!
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeOutput.logโ€.
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeError.logโ€.

Please install Python (it is required to build ROOT)

I was already using python 3.7. Though, just to be sure as it was not integrated to PATH, I reinstalled python 3.8.2. I have attached the error log CMakeError - Copy.txt (65.5 KB)

Python has to be in the PATH, itโ€™s much simpler, otherwise you have to specify it at configure time, which is more complicated.

And thanks for the CMakeError file, it looks OK (the errors you see are normal). The output you get (on screen) at configure time is more useful

Here is the output
โ€“ Configuring incomplete, errors occurred!
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeOutput.logโ€.
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeError.logโ€.

c:\Users\akasp\root>cmake --build . --config Debug
Microsoft ยฎ Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright ยฉ Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: ALL_BUILD.vcxproj

I also need the previous lines (where the error are given)

Indeed, if the configure step failed, it is useless to try to buildโ€ฆ

c:\Users\akasp\root>cmake -G โ€œVisual Studio 16 2019โ€ -A Win32 -Thost=x64 C:\Users\akasp\Downloads\root_v6.20.00.source\root-6.20.00
โ€“ Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
โ€“ The C compiler identification is MSVC 19.24.28315.0
โ€“ The CXX compiler identification is MSVC 19.24.28315.0
โ€“ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe โ€“ works
โ€“ Detecting C compiler ABI info
โ€“ Detecting C compiler ABI info - done
โ€“ Detecting C compile features
โ€“ Detecting C compile features - done
โ€“ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe โ€“ works
โ€“ Detecting CXX compiler ABI info
โ€“ Detecting CXX compiler ABI info - done
โ€“ Detecting CXX compile features
โ€“ Detecting CXX compile features - done
โ€“ Could NOT find Git (missing: GIT_EXECUTABLE)
โ€“ ROOT default compression algorithm: zlib
โ€“ Looking for pthread.h
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/CMakeRCInformation.cmake:14 (get_filename_component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/Platform/Windows-MSVC.cmake:423 (enable_language)
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/Platform/Windows-MSVC.cmake:407 (__windows_compiler_msvc_enable_rc)
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/Platform/Windows-MSVC-C.cmake:5 (__windows_compiler_msvc)
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/CMakeCInformation.cmake:48 (include)
C:/Users/akasp/root/CMakeFiles/CMakeTmp/CMakeLists.txt:4 (project)

CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/CheckIncludeFile.cmake:93 (try_compile):
Failed to configure test project build system.
Call Stack (most recent call first):
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/FindThreads.cmake:128 (CHECK_INCLUDE_FILE)
cmake/modules/CheckCompiler.cmake:139 (find_package)
CMakeLists.txt:122 (include)

โ€“ Configuring incomplete, errors occurred!
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeOutput.logโ€.

c:\Users\akasp\root>cmake -G โ€œVisual Studio 16 2019โ€ -A Win32 -Thost=x64 C:\Users\akasp\Downloads\root_v6.20.00.source\root-6.20.00
โ€“ Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
โ€“ The C compiler identification is MSVC 19.24.28315.0
โ€“ The CXX compiler identification is MSVC 19.24.28315.0
โ€“ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe โ€“ works
โ€“ Detecting C compiler ABI info
โ€“ Detecting C compiler ABI info - done
โ€“ Detecting C compile features
โ€“ Detecting C compile features - done
โ€“ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe โ€“ works
โ€“ Detecting CXX compiler ABI info
โ€“ Detecting CXX compiler ABI info - done
โ€“ Detecting CXX compile features
โ€“ Detecting CXX compile features - done
โ€“ Could NOT find Git (missing: GIT_EXECUTABLE)
โ€“ ROOT default compression algorithm: zlib
โ€“ Looking for pthread.h
โ€“ Looking for pthread.h - not found
โ€“ Found Threads: TRUE
โ€“ Performing Test GLIBCXX_USE_CXX11_ABI
โ€“ Performing Test GLIBCXX_USE_CXX11_ABI - Failed
โ€“ ROOT Platform: win32
โ€“ ROOT Architecture: win32
โ€“ Build Type: (flags = โ€˜โ€™)
โ€“ Compiler Flags: -nologo -IC:/Users/akasp/Downloads/root_v6.20.00.source/root-6.20.00/build/win -FIw32pragma.h -FIsehmap.h -Zc:__cplusplus -MD -GR -EHsc- -W3 -wd4141 -wd4291 -wd4244 -wd4049 -D_WIN32 -D_XKEYCHECK_H -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS
โ€“ Looking for ZLib
โ€“ Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
โ€“ Zlib not found. Switching on builtin_zlib option
โ€“ Looking for Freetype
โ€“ Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
โ€“ FreeType not found. Switching on builtin_freetype option
โ€“ Building freetype version 2.6.1 included in ROOT itself
โ€“ Looking for PCRE
โ€“ Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)
โ€“ PCRE not found. Switching on builtin_pcre option
โ€“ Looking for LZMA
โ€“ Could NOT find LibLZMA (missing: LIBLZMA_LIBRARY LIBLZMA_INCLUDE_DIR LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
โ€“ LZMA not found. Switching on builtin_lzma option
โ€“ Building LZMA version 5.2.4 included in ROOT itself
โ€“ Looking for ZSTD
โ€“ Could NOT find ZSTD (missing: ZSTD_LIBRARIES ZSTD_INCLUDE_DIR ZSTD_VERSION)
โ€“ ZSTD not found. Switching on builtin_zstd option
โ€“ Performing Test C_FLAG_MP
โ€“ Performing Test C_FLAG_MP - Success
โ€“ Performing Test CXX_FLAG_MP
โ€“ Performing Test CXX_FLAG_MP - Success
โ€“ Performing Test C_FLAG_D_UNICODE
โ€“ Performing Test C_FLAG_D_UNICODE - Success
โ€“ Performing Test CXX_FLAG_D_UNICODE
โ€“ Performing Test CXX_FLAG_D_UNICODE - Success
โ€“ Performing Test C_FLAG_DUNICODE
โ€“ Performing Test C_FLAG_DUNICODE - Success
โ€“ Performing Test CXX_FLAG_DUNICODE
โ€“ Performing Test CXX_FLAG_DUNICODE - Success
โ€“ Looking for xxHash
โ€“ Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
โ€“ xxHash not found. Switching on builtin_xxhash option
โ€“ Looking for LZ4
โ€“ Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
โ€“ LZ4 not found. Switching on builtin_lz4 option
โ€“ Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
โ€“ Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
โ€“ Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
โ€“ Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
โ€“ Looking for AfterImage
โ€“ Could NOT find AfterImage (missing: AFTERIMAGE_INCLUDE_DIR AFTERIMAGE_LIBRARIES)
โ€“ AfterImage not found. Switching on builtin_afterimage option
โ€“ Looking for GSL
โ€“ Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
โ€“ Could NOT find GSL: Found unsuitable version โ€œโ€, but required is at least โ€œ1.10โ€ (found GSL_INCLUDE_DIR-NOTFOUND)
โ€“ GSL not found. Set variable GSL_ROOT_DIR to point to your GSL installation
โ€“ Alternatively, you can also enable the option โ€˜builtin_gslโ€™ to build the GSL libraries internallyโ€™
โ€“ For the time being switching OFF โ€˜mathmoreโ€™ option
โ€“ Looking for python
โ€“ Preferring Python version 3
โ€“ Found Python: C:/Users/akasp/AppData/Local/Programs/Python/Python38/python.exe (found version โ€œ3.8.2โ€) found components: Interpreter Development
โ€“ Could NOT find Python (missing: Python_LIBRARY Interpreter Development NumPy) (found version โ€œ3.8.2โ€)
โ€“ Looking for OpenGL
โ€“ Found OpenGL: opengl32
โ€“ Looking for GLEW
โ€“ Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)
โ€“ GLEW not found. Switching on builtin_glew option
โ€“ Looking for gl2ps
โ€“ Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
โ€“ gl2ps not found. Switching on builtin_gl2ps option
โ€“ Looking for LibXml2
โ€“ Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
โ€“ LibXml2 not found. Switching off xml option
โ€“ Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
โ€“ Switching OFF โ€˜sslโ€™ option.
โ€“ Looking for MySQL
โ€“ Could NOT find MYSQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
โ€“ MySQL not found. Switching off mysql option
โ€“ Looking for Oracle
โ€“ Oracle not found.
โ€“ Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
โ€“ currently found includes:
โ€“ Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
โ€“ currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
โ€“ Oracle not found. Switching off oracle option
โ€“ Looking for PostgreSQL
โ€“ Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
โ€“ PostgreSQL not found. Switching off pgsql option
โ€“ Looking for SQLite
โ€“ Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
โ€“ SQLite not found. Switching off sqlite option
โ€“ Looking for Pythia6
โ€“ Pythia6 not found. Switching off pythia6 option
โ€“ Looking for Pythia8
โ€“ Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
โ€“ Pythia8 not found. Switching off pythia8 option
โ€“ Looking for FFTW3
โ€“ FFTW3 not found. Set [environment] variable FFTW_DIR to point to your FFTW3 installation
โ€“ Alternatively, you can also enable the option โ€˜builtin_fftw3โ€™ to build FFTW3 internallyโ€™
โ€“ For the time being switching OFF โ€˜fftw3โ€™ option
โ€“ Looking for CFITSIO
โ€“ Could NOT find CFITSIO (missing: CFITSIO_LIBRARY CFITSIO_INCLUDE_DIR)
โ€“ CFITSIO not found. You can enable the option โ€˜builtin_cfitsioโ€™ to build the library internallyโ€™
โ€“ For the time being switching off โ€˜fitsioโ€™ option
โ€“ Looking for XROOTD
โ€“ XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
โ€“ Alternatively, you can also enable the option โ€˜builtin_xrootdโ€™ to build XROOTD internally
โ€“ For the time being switching OFF โ€˜xrootdโ€™ option
โ€“ Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
โ€“ GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
and the variable SRM_IFCE_DIR to the srm_ifce installation
โ€“ For the time being switching OFF โ€˜gfalโ€™ option
โ€“ Could NOT find FTGL (missing: FTGL_INCLUDE_DIR FTGL_LIBRARY)
โ€“ ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation
โ€“ For the time being switching ON โ€˜builtin_ftglโ€™ option
โ€“ Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
โ€“ Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
โ€“ Building LLVM in โ€˜Releaseโ€™ mode.
โ€“ The ASM compiler identification is MSVC
โ€“ Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Looking for backtrace
โ€“ Looking for backtrace - not found
โ€“ Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
โ€“ Native target architecture is X86
โ€“ Threads disabled.
โ€“ Doxygen disabled.
โ€“ Go bindings disabled.
โ€“ LLVM host triple: i686-pc-win32
โ€“ LLVM default target triple: i686-pc-win32
โ€“ Found PythonInterp: C:/Users/akasp/AppData/Local/Programs/Python/Python38/python.exe (found version โ€œ3.8.2โ€)
โ€“ Constructing LLVMBuild project information
โ€“ LLVMHello ignored โ€“ Loadable modules not supported on this platform.
โ€“ Targeting X86
โ€“ Targeting NVPTX
โ€“ Clang version: 5.0.0
โ€“ PrintFunctionNames ignored โ€“ Loadable modules not supported on this platform.
โ€“ AnnotateFunctions ignored โ€“ Loadable modules not supported on this platform.
โ€“ BugpointPasses ignored โ€“ Loadable modules not supported on this platform.
โ€“ Cling version (from VERSION file): ROOT_0.7~dev
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/ExternalProject.cmake:2410 (message):
error: could not find git for clone of clad
Call Stack (most recent call first):
C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
interpreter/cling/tools/plugins/clad/CMakeLists.txt:29 (ExternalProject_Add)

โ€“ Configuring incomplete, errors occurred!
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeOutput.logโ€.
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeError.logโ€.

c:\Users\akasp\root>cmake --build . --config Debug
Microsoft ยฎ Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright ยฉ Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: ALL_BUILD.vcxproj

Please install git for Windows

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cmake -G โ€œVisual Studio 16 2019โ€ -A Win32 -Thost=x64 C:\Users\akasp\Downloads\root_v6.20.00.source\root-6.20.00
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/CMakeDetermineSystem.cmake:173 (file):
file failed to open for writing (No such file or directory):

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/CMakeFiles/CMakeOutput.log

Call Stack (most recent call first):
CMakeLists.txt:24 (project)

CMake Error: Could not open file for write in copy operation C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/CMakeFiles/3.15.19101501-MSVC_2/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/CMakeDetermineSystem.cmake:185 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:24 (project)

โ€“ Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
CMake Error at CMakeLists.txt:24 (project):
Failed to make directory:

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/CMakeFiles/3.15.19101501-MSVC_2

โ€“ Configuring incomplete, errors occurred!
CMake Error: Cannot open file for write: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/CMakeCache.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error: Unable to open cache file for save. C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/CMakeCache.txt
CMake Error: : System Error: Permission denied

Donโ€™t start from C:\Program Files (x86)\Microsoft Visual Studio\2019\Community !!!

c:\Users\akasp\root>cmake -G โ€œVisual Studio 16 2019โ€ -A Win32 -Thost=x64 C:\Users\akasp\Downloads\root_v6.20.00.source\root-6.20.00
โ€“ Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
โ€“ The C compiler identification is MSVC 19.24.28315.0
โ€“ The CXX compiler identification is MSVC 19.24.28315.0
โ€“ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe โ€“ works
โ€“ Detecting C compiler ABI info
โ€“ Detecting C compiler ABI info - done
โ€“ Detecting C compile features
โ€“ Detecting C compile features - done
โ€“ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe โ€“ works
โ€“ Detecting CXX compiler ABI info
โ€“ Detecting CXX compiler ABI info - done
โ€“ Detecting CXX compile features
โ€“ Detecting CXX compile features - done
โ€“ Found Git: C:/Program Files/Git/cmd/git.exe (found version โ€œ2.25.1.windows.1โ€)
โ€“ ROOT default compression algorithm: zlib
โ€“ Looking for pthread.h
โ€“ Looking for pthread.h - not found
โ€“ Found Threads: TRUE
โ€“ Performing Test GLIBCXX_USE_CXX11_ABI
โ€“ Performing Test GLIBCXX_USE_CXX11_ABI - Failed
โ€“ ROOT Platform: win32
โ€“ ROOT Architecture: win32
โ€“ Build Type: (flags = โ€˜โ€™)
โ€“ Compiler Flags: -nologo -IC:/Users/akasp/Downloads/root_v6.20.00.source/root-6.20.00/build/win -FIw32pragma.h -FIsehmap.h -Zc:__cplusplus -MD -GR -EHsc- -W3 -wd4141 -wd4291 -wd4244 -wd4049 -D_WIN32 -D_XKEYCHECK_H -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS
โ€“ Looking for ZLib
โ€“ Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
โ€“ Zlib not found. Switching on builtin_zlib option
โ€“ Looking for Freetype
โ€“ Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
โ€“ FreeType not found. Switching on builtin_freetype option
โ€“ Building freetype version 2.6.1 included in ROOT itself
โ€“ Looking for PCRE
โ€“ Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)
โ€“ PCRE not found. Switching on builtin_pcre option
โ€“ Looking for LZMA
โ€“ Could NOT find LibLZMA (missing: LIBLZMA_LIBRARY LIBLZMA_INCLUDE_DIR LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
โ€“ LZMA not found. Switching on builtin_lzma option
โ€“ Building LZMA version 5.2.4 included in ROOT itself
โ€“ Looking for ZSTD
โ€“ Could NOT find ZSTD (missing: ZSTD_LIBRARIES ZSTD_INCLUDE_DIR ZSTD_VERSION)
โ€“ ZSTD not found. Switching on builtin_zstd option
โ€“ Performing Test C_FLAG_MP
โ€“ Performing Test C_FLAG_MP - Success
โ€“ Performing Test CXX_FLAG_MP
โ€“ Performing Test CXX_FLAG_MP - Success
โ€“ Performing Test C_FLAG_D_UNICODE
โ€“ Performing Test C_FLAG_D_UNICODE - Success
โ€“ Performing Test CXX_FLAG_D_UNICODE
โ€“ Performing Test CXX_FLAG_D_UNICODE - Success
โ€“ Performing Test C_FLAG_DUNICODE
โ€“ Performing Test C_FLAG_DUNICODE - Success
โ€“ Performing Test CXX_FLAG_DUNICODE
โ€“ Performing Test CXX_FLAG_DUNICODE - Success
โ€“ Looking for xxHash
โ€“ Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
โ€“ xxHash not found. Switching on builtin_xxhash option
โ€“ Looking for LZ4
โ€“ Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
โ€“ LZ4 not found. Switching on builtin_lz4 option
โ€“ Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
โ€“ Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
โ€“ Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
โ€“ Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
โ€“ Looking for AfterImage
โ€“ Could NOT find AfterImage (missing: AFTERIMAGE_INCLUDE_DIR AFTERIMAGE_LIBRARIES)
โ€“ AfterImage not found. Switching on builtin_afterimage option
โ€“ Looking for GSL
โ€“ Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
โ€“ Could NOT find GSL: Found unsuitable version โ€œโ€, but required is at least โ€œ1.10โ€ (found GSL_INCLUDE_DIR-NOTFOUND)
โ€“ GSL not found. Set variable GSL_ROOT_DIR to point to your GSL installation
โ€“ Alternatively, you can also enable the option โ€˜builtin_gslโ€™ to build the GSL libraries internallyโ€™
โ€“ For the time being switching OFF โ€˜mathmoreโ€™ option
โ€“ Looking for python
โ€“ Preferring Python version 3
โ€“ Found Python: C:/Users/akasp/AppData/Local/Programs/Python/Python38/python.exe (found version โ€œ3.8.2โ€) found components: Interpreter Development
โ€“ Could NOT find Python (missing: Python_LIBRARY Interpreter Development NumPy) (found version โ€œ3.8.2โ€)
โ€“ Looking for OpenGL
โ€“ Found OpenGL: opengl32
โ€“ Looking for GLEW
โ€“ Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)
โ€“ GLEW not found. Switching on builtin_glew option
โ€“ Looking for gl2ps
โ€“ Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
โ€“ gl2ps not found. Switching on builtin_gl2ps option
โ€“ Looking for LibXml2
โ€“ Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
โ€“ LibXml2 not found. Switching off xml option
โ€“ Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
โ€“ Switching OFF โ€˜sslโ€™ option.
โ€“ Looking for MySQL
โ€“ Could NOT find MYSQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
โ€“ MySQL not found. Switching off mysql option
โ€“ Looking for Oracle
โ€“ Oracle not found.
โ€“ Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
โ€“ currently found includes:
โ€“ Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
โ€“ currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
โ€“ Oracle not found. Switching off oracle option
โ€“ Looking for PostgreSQL
โ€“ Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
โ€“ PostgreSQL not found. Switching off pgsql option
โ€“ Looking for SQLite
โ€“ Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
โ€“ SQLite not found. Switching off sqlite option
โ€“ Looking for Pythia6
โ€“ Pythia6 not found. Switching off pythia6 option
โ€“ Looking for Pythia8
โ€“ Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
โ€“ Pythia8 not found. Switching off pythia8 option
โ€“ Looking for FFTW3
โ€“ FFTW3 not found. Set [environment] variable FFTW_DIR to point to your FFTW3 installation
โ€“ Alternatively, you can also enable the option โ€˜builtin_fftw3โ€™ to build FFTW3 internallyโ€™
โ€“ For the time being switching OFF โ€˜fftw3โ€™ option
โ€“ Looking for CFITSIO
โ€“ Could NOT find CFITSIO (missing: CFITSIO_LIBRARY CFITSIO_INCLUDE_DIR)
โ€“ CFITSIO not found. You can enable the option โ€˜builtin_cfitsioโ€™ to build the library internallyโ€™
โ€“ For the time being switching off โ€˜fitsioโ€™ option
โ€“ Looking for XROOTD
โ€“ XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
โ€“ Alternatively, you can also enable the option โ€˜builtin_xrootdโ€™ to build XROOTD internally
โ€“ For the time being switching OFF โ€˜xrootdโ€™ option
โ€“ Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
โ€“ GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
and the variable SRM_IFCE_DIR to the srm_ifce installation
โ€“ For the time being switching OFF โ€˜gfalโ€™ option
โ€“ Could NOT find FTGL (missing: FTGL_INCLUDE_DIR FTGL_LIBRARY)
โ€“ ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation
โ€“ For the time being switching ON โ€˜builtin_ftglโ€™ option
โ€“ Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
โ€“ Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
โ€“ Building LLVM in โ€˜Releaseโ€™ mode.
โ€“ The ASM compiler identification is MSVC
โ€“ Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
โ€“ Looking for backtrace
โ€“ Looking for backtrace - not found
โ€“ Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
โ€“ Native target architecture is X86
โ€“ Threads disabled.
โ€“ Doxygen disabled.
โ€“ Go bindings disabled.
โ€“ LLVM host triple: i686-pc-win32
โ€“ LLVM default target triple: i686-pc-win32
โ€“ Found PythonInterp: C:/Users/akasp/AppData/Local/Programs/Python/Python38/python.exe (found version โ€œ3.8.2โ€)
โ€“ Constructing LLVMBuild project information
โ€“ LLVMHello ignored โ€“ Loadable modules not supported on this platform.
โ€“ Targeting X86
โ€“ Targeting NVPTX
โ€“ Clang version: 5.0.0
โ€“ PrintFunctionNames ignored โ€“ Loadable modules not supported on this platform.
โ€“ AnnotateFunctions ignored โ€“ Loadable modules not supported on this platform.
โ€“ BugpointPasses ignored โ€“ Loadable modules not supported on this platform.
โ€“ Cling version (from VERSION file): ROOT_0.7~dev
โ€“ Performing Test __result
โ€“ Performing Test __result - Failed
โ€“ Performing Test CXX_HAS_fno_rtti
โ€“ Performing Test CXX_HAS_fno_rtti - Failed
โ€“ Performing Test C_HAS_Wno_strict_overflow
โ€“ Performing Test C_HAS_Wno_strict_overflow - Failed
โ€“ Performing Test C_HAS_Wno_maybe_uninitialized
โ€“ Performing Test C_HAS_Wno_maybe_uninitialized - Failed
โ€“ Performing Test C_HAS_Wno_parentheses_equality
โ€“ Performing Test C_HAS_Wno_parentheses_equality - Failed
โ€“ Looking for m
โ€“ Looking for m - not found
โ€“ Performing Test CXX_HAS_fno_strict_aliasing
โ€“ Performing Test CXX_HAS_fno_strict_aliasing - Failed
โ€“ Performing Test CXX_HAS_Wno_parentheses_equality
โ€“ Performing Test CXX_HAS_Wno_parentheses_equality - Failed
โ€“ Performing Test CXX_HAS_Wno_cast_function_type
โ€“ Performing Test CXX_HAS_Wno_cast_function_type - Failed
โ€“ Performing Test CXX_HAS_Wno_deprecated_register
โ€“ Performing Test CXX_HAS_Wno_deprecated_register - Failed
โ€“ Performing Test CXX_HAS_Wno_register
โ€“ Performing Test CXX_HAS_Wno_register - Failed
โ€“ Performing Test found_setresuid
โ€“ Performing Test found_setresuid - Failed
โ€“ Performing Test found_stdstringview
โ€“ Performing Test found_stdstringview - Failed
โ€“ Performing Test found_stdexpstringview
โ€“ Performing Test found_stdexpstringview - Failed
โ€“ Performing Test found_stdapply
โ€“ Performing Test found_stdapply - Failed
โ€“ Performing Test found_stdinvoke
โ€“ Performing Test found_stdinvoke - Success
โ€“ Performing Test found_stdindexsequence
โ€“ Performing Test found_stdindexsequence - Success
โ€“ Performing Test found_attribute_always_inline
โ€“ Performing Test found_attribute_always_inline - Failed
โ€“ Performing Test has_found_attribute_noinline
โ€“ Performing Test has_found_attribute_noinline - Failed
โ€“ Enabled support for: asimage builtin_afterimage builtin_clang builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_lz4 builtin_lzma builtin_pcre builtin_xxhash builtin_zlib builtin_zstd clad exceptions gdml http mlp opengl python shared spectrum
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Python_LIBRARY
linked by target โ€œPyROOTโ€ in directory C:/Users/akasp/Downloads/root_v6.20.00.source/root-6.20.00/bindings/pyroot

โ€“ Configuring incomplete, errors occurred!
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeOutput.logโ€.
See also โ€œC:/Users/akasp/root/CMakeFiles/CMakeError.logโ€.