Compilation error on Windows 10

ROOT Version:_ ROOT 6.26.04
Platform: Windows 10
Compiler: Visual Studio 16 2019


Dear All,
I’ve followed the installation instructions reported in “build from source” but I obtain the following error

CustomBuild:
  "La compilazione di 'C:\Users\itk-dcs\ROOT\root_build\CMakeFiles\867b3fefe352907a48d075fa9152f040\hsimple.rule' dipende da 'C:\USERS\ITK-DCS\ROOT\ROOT_BUILD\TUTORIALS\HS
  IMPLE.ROOT' che è prodotto dalla compilazione di 'C:\Users\itk-dcs\ROOT\root_build\CMakeFiles\d59ca359321f5f5b007ef54a4c56e7d7\hsimple.root.rule'. Non è possibile compilare gli elementi in parallelo."
  Generating tutorials/hsimple.root
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: la compilazione personalizzata per 'C:\Users\itk-dcs\ROOT\root_build\CMakeFiles\d59ca359321f5f5b007ef54a4c56e7d7\hsimple.root.rule;C:\Users\itk-dcs\ROOT\root_build\CMakeFiles\867b3fefe352907a48d075fa9
152f040\hsimple.rule' è stata terminata. Codice: -1073741515. [C:\Users\itk-dcs\ROOT\root_build\hsimple.vcxproj]
Compilazione progetto "C:\Users\itk-dcs\ROOT\root_build\hsimple.vcxproj" (destinazioni predefinite) NON COMPLETATA.

Compilazione progetto "C:\Users\itk-dcs\ROOT\root_build\ALL_BUILD.vcxproj" (destinazioni predefinite) NON COMPLETATA.

Compilazione progetto "C:\Users\itk-dcs\ROOT\root_build\install.vcxproj" (destinazioni predefinite) NON COMPLETATA.


Compilazione NON RIUSCITA.

"C:\Users\itk-dcs\ROOT\root_build\install.vcxproj" (destinazione predefinita) (1) ->
"C:\Users\itk-dcs\ROOT\root_build\ALL_BUILD.vcxproj" (destinazione predefinita) (3) ->
"C:\Users\itk-dcs\ROOT\root_build\hsimple.vcxproj" (destinazione predefinita) (437) ->
(destinazione: CustomBuild) ->
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: la compilazione personalizz
ata per 'C:\Users\itk-dcs\ROOT\root_build\CMakeFiles\d59ca359321f5f5b007ef54a4c56e7d7\hsimple.root.rule;C:\Users\itk-dcs\ROOT\root_build\CMakeFiles\867b3fefe352907a48d075f
a9152f040\hsimple.rule' è stata terminata. Codice: -1073741515. [C:\Users\itk-dcs\ROOT\root_build\hsimple.vcxproj]

    Avvisi: 0
    Errori: 1

it says it’s impossible to compile the elements associated to hsimple* in parallel; have you never seen this error? How can I fix it?
Thanks,
Luigi

Welcome to the ROOT Forum!
What is the exact version of Visual Studio you are using (e.g. v16.11.15)?
Why don’t you take a pre-compiled binary distribution?

Hi,
thanks a lot for the link. Sorry but I’ve looked for an older version, where there is no window version available, and I’ve thought it is not anymore supported. I’ll try it and, in case I will have problem with my code calling the root library, I’ll come back to you.
Just to let you know that the version of Visual Studio is v16.11.15.
Cheers,
Luigi

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.