I am trying to build ROOT 6.20 on Windows 10 with Mingw. Do we have some recipe that one can follow about external dependencies, as well as which cmake flags need to be turned ON/OFF.
Thanks for your valuable help.
Thanks for the clarification, I will stick then to MSBUILD/Visual.
I can see that ROOT is built with Visual Studio 2019. Unfortunately our project uses Visual 2017.
Did someone try to build ROOT with Visual Studio 2017 ?
I browsed through several threads and started to compile ROOT.
Unfortunately, I hit this error about \typetraits.hxx which seems to have already been reported
Line 13707: 4>d:\s\alamos-9.3.0\sources\root\core\foundation\inc\root\typetraits.hxx(43): fatal error C1001: Une erreur interne s’est produite dans le compilateur. [D:\S\ALAMOS-9.3.0\BUILD\root\core\BaseTROOT.vcxproj]
Only VS 2019 is currently supported. But since Visual Studio is much more compatible between different versions, you might try to use ROOT binaries built with VS 2019 (e.g. ROOT v6.22.00). Otherwise I don’t see a simple solution. Especially that ROOT doesn’t compile anymore with the latest version of Visual Studio (v16.7.0)…