I’d just change “.cxx” into “.cc” directly here … and learn the “-p” flag … you will often need it …
rootcint -f dictionary.cc -c -p TestClass.hh Root_LinkDef.h
Also, as you plan to use “std:: vector”, maybe it would be good to:
#include
in your “TestClass.hh” file.
One more thing. If you ever use “ClassDef”, remember that it must be the last line in your class definition AND it must be PUBLIC:
class MyClass {
public:
// something
protected:
// something else
private:
// yet something else
public:
ClassDef(MyClass, 1); // My Class title
};