Libraries conflict


I would like to better understand how to organize my librairies with interactive ROOT.
I named a class HistFactory and after that I noticed it was in conflict with RooFit:HistFactory.
So I used namespace in order to include my HistFactory and avoid that kind of problem.
Then finally I started to have some problem with the header files. What should I do in order to get rid of that header problems ?

Rename your own classes and include files.

Okay, I see ! Doesn’t matter the namespace?
I tried to put my headers in a subdirectory and include : #include <subdir/header.h>
But in interactive still the same problem, wrong header loaded… sounds strange to me


Yes, that shouldn’t happen (at least with ROOT6). We need more info, a reproducer, and the error messages to be able to solve this, though.

Cheers, Axel.