Loading namespace in macro

Ah, so then perhaps https://root-forum.cern.ch/t/load-a-standalone-sharedlibrary/28306 is your best bet. I hope this helps.