Dictionary for vector<long> and vector<vector<do

Hi,

I would like to read data of vector, and vector<vector > types from a root TTree class stored in a TFile. My C++ code compiles but when it runs I get a number of messages of the form

I expect I require something like

#include <vector>
#ifdef __CINT__
#pragma link C++ class vector<vector <double> >;
#pragma link C++ class vector<long>;
#endif
template class vector<vector<double> >;
template class vector<long>;

and assume I should

but this produces an error of the form

Could someone point out what I am doing wrong? I am using Root version 5.14/00h.

Thanks and Best Regards,

Will

bash-3.2$ rootcint --help rootcint [-v][-v0-4] [-reflex] [-l] [-f] [out.cxx] [-c] file1.h[+][-] [!] file2.h[+][-][!]...[LinkDef.h] Only one verbose flag is authorized (one of -v, -v0, -v1, -v2, -v3, -v4) and must be before the -f flags For more extensive help type: rootcint -h

Aka your file myDef.h needs to be name myLinkDef.h and you need to type:rootcint -f mydict.cxx -c myLinkDef.h

Cheers,
Philippe.