I tried to run combinedFit.C tutorial (https://root.cern.ch/doc/master/combinedFit_8C.html) using ROOT 6.20.02 on Windows 10 by the command
however, I got the message
Info in TWinNTSystem::ACLiC: creating shared library C:/root_v6.20.02/macros/combinedFit_C.dll
input_line_12:8:25: error: use of undeclared identifier ‘Ic’
“c:/root_v6.20.02/etc” -Ic:/root_v6.20.02/etc//cling -Ic:/root_v6.20.02/include"",
Error in : Dictionary generation failed!
I can run it by using simply the command
but when I try to run it again without closing the ROOT, I got
Assertion failed: Val && “isa<> used on a null pointer”, file C:\build\ws\BUILDTYPE\Debug\LABEL\windows10\V\6-20\root\interpreter\llvm\src\include\llvm/Support/Casting.h, line 106
and then the ROOT closes. Is it possible to get rid of this problem and not to reopen ROOT when I run this code multiple times?