Accessing my class through Cling in more recent ROOT versions takes an extra step that I do not remember in older versions (roughly before 6.08).
For example following closely this example, I create a library containing the class ABC, all files attached to this post.
However, executing the following lines fail:
root  gSystem->Load("libABC.dylib") (int) 0 root  ABC a ROOT_prompt_1:1:4: error: expected ';' after expression ABC a ^ ; ROOT_prompt_1:1:5: error: use of undeclared identifier 'a' ABC a ^
but the following lines succeed:
root  gROOT->ProcessLine("#include \"ABC.h\"") (long) 0 root  ABC a (ABC &) Name: ABC Title:
Does this include statement trigger a lookup of the rootmap file that otherwise is not accessed when doing an explicit load of the library ?
example.tar (5 KB)