ROOT 6.40 + JANA2 v2026.02.00 incompatibility.
JANA2's janaview plugin generates a ROOT dictionary via ROOT_GENERATE_DICTIONARY(G__jv_mainframe jv_mainframe.h) without a LinkDef file. ROOT 6.40 made this stricter it now requires a selection file. ROOT 6.38 tolerated the missing LinkDef.
Looks like this:
#25 26.64 [ 48%] Linking CXX shared library libjana2_tutorial_podio_datamodel_dict.so
#25 26.99 [ 48%] Built target jana2_tutorial_podio_datamodel_dict
#25 27.02 [ 48%] Building CXX object src/examples/misc/Tutorial/CMakeFiles/Tutorial.dir/SimpleClusterFactory.cc.o
#25 27.82 Error: No selection rules specified and creation of C++ module not requested: did you forget to specify a selection file or to request the creation of a C++ module?
#25 27.87 gmake[2]: *** [src/plugins/janaview/CMakeFiles/janaview.dir/build.make:75: src/plugins/janaview/G__jv_mainframe.cxx] Error 1
#25 27.87 gmake[1]: *** [CMakeFiles/Makefile2:2346: src/plugins/janaview/CMakeFiles/janaview.dir/all] Error 2
#25 27.87 gmake[1]: *** Waiting for unfinished jobs....
ROOT 6.40 + JANA2 v2026.02.00 incompatibility.
JANA2's janaview plugin generates a ROOT dictionary via ROOT_GENERATE_DICTIONARY(G__jv_mainframe jv_mainframe.h) without a LinkDef file. ROOT 6.40 made this stricter it now requires a selection file. ROOT 6.38 tolerated the missing LinkDef.
Looks like this: