Hello,
I use ROOT in my application on windows and I need to generate dictionaries for custom classes in order to perform ROOT I/O with these objects.
But I can’t get a successful outcome from rootcint/rootcling.
I tried the simple example mentioned in the users guide (https://root.cern/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#rootcling-the-cling-dictionary-generator) in order to better isolate the problem
rootcling eventdict.cxx -c TEvent.h TTrack.h
This is perfectly working with Visual Studio 2019 version 16.8.2 and ROOT 5.34/34, the last version I was using since years before moving now to ROOT 6.
I tried the same command with many builts of ROOT for windows (6.13/08, 6.14/06, 6.16/00, 6.18/04, 6.20/08, 6.22/00 and even the last 6.23/01) without success.
In attachment you can find the output of this command from the version 6.23/01.
I also tried building ROOT from myself in Visual Studio after generating the solution with CMake, starting from the master in the git repository, but without success. However, maybe this is matter for another post, it’s better to keep things well separated.
Thanks for your help.
output.txt (3.6 KB)
_ROOT Version: 6.22/00
_Platform: Windows 10
_Compiler: Visual Studio 2019 version 16.8.2, Windows SDK version 10.0.18362.0