Dear experts,
I am sorry to disturb you but I do not manage to build ROOT from the sources (https://root.cern/download/root_v6.22.06.source.tar.gz) on Windows 10 with Visual Studio 2019 (v16.8.4). I have installed a posteriori Visual Studio with the Python & C++ development option. The SDK kit version is : 10.0.18362.0.
I have selected “x86 Native Tools Command Prompt for VS 2019” (not the 64bits one) for typing commands line. Then I have typed the following
cd C:\BuildDir
cmake -G "Visual Studio 16 2019" -A Win32 -Thost=x64 -DCMAKE_VERBOSE_MAKEFILE=ON -Dpyroot=ON -DACTIVATE_MULTITHREADED_COMPILATION=OFF -DCMAKE_INSTALL_PREFIX=../Root -DCMAKE_CXX_STANDARD=14 ..\SourceDir
cmake --build . --config Debug
The building failed due to a problem with the std library atomic.
"C:\buildir\ALL_BUILD.vcxproj" (cible par défaut) (1) ->
"C:\buildir\graf2d\asimage\G__ASImage.vcxproj" (cible par défaut) (160) ->
"C:\buildir\core\Core.vcxproj" (cible par défaut) (162) ->
"C:\buildir\core\G__Core.vcxproj" (cible par défaut) (163) ->
(CustomBuild cible) ->
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\\include\atomic(895,13): error G30564CF7: use of undeclared identifier '__iso_volatile_store32' [C:\buildi
r\core\G__Core.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\\include\atomic(899,13): error G30564CF7: use of undeclared identifier '__iso_volatile_store32' [C:\buildi
r\core\G__Core.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\\include\atomic(2217,57): error GFB12FC72: too many arguments to function call, expected single argument '
_Value', have 2 arguments [C:\buildir\core\G__Core.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\\include\atomic(676,27): error G30564CF7: use of undeclared identifier '__iso_volatile_load8' [C:\buildir\
core\G__Core.vcxproj]
CUSTOMBUILD : error : Error loading the default header files. [C:\buildir\core\G__Core.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(238,5): error MSB8066: la build personnalisée de 'C:\buildir\CMakeFiles\f28596
401f6af03e6916a1a4385b9c5d\G__Core.cxx.rule' s'est arrêtée. Code 1. [C:\buildir\core\G__Core.vcxproj]
I have no clue for trying to remove this mistake. I hope you can help me.
Thanks in advance,
Cheers,
Eric
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Windows 10
Compiler: Visual Studio 2019 (v16.8.4)