Adding a class: hand holding requested

On Linux, try (for MacOS and/or Windows, you need to find someone who can “transform” the commands given below):

`root-config --cxx --cflags` -fPIC -c MyClass.cxx rootcint -f MyClass_Dict.cxx -c -p MyClass.hxx MyClass_LinkDef.h `root-config --cxx --cflags` -fPIC -c MyClass_Dict.cxx `root-config --cxx --cflags` -fPIC -shared -o libMyClass.so MyClass.o MyClass_Dict.o
The easiest way to try it is:

root [0] .L libMyClass.so root [1] .Class MySpace::MyClass1 root [2] .Class std::vector< MySpace::MyClass1 > root [3] .Class std::vector< std::vector< MySpace::MyClass1 > >
See also [url]Simple way to create and merge shared libraries? for some additional neat Philippe’s notes concerning “ClassDef” / “ClassImp” / “TObject inheritance”.
MyClass.hxx (533 Bytes)
MyClass.cxx (235 Bytes)
MyClass_LinkDef.h (991 Bytes)