> The funny thing is that it was working, until I did some modifications, and it started giving this message. > Any idea?
What modification did not make?
The best solution is to provide a dictionary for this nested vector:
root [] .L myloader.C+
Cheers,
Philippe.
//Start of myloader.C
#include <TString.h>
#include <vector>
#ifdef __MAKECINT__ #pragma link C++ class vector<vector<TString> >+; #endif
//End of myloader.C
Massimiliano Chiorboli wrote:
> I forgot to add that in batch mode the macro works.
> Thanks,
> Massimiliano
>
>
> Il giorno 13/mag/09, alle ore mercoledì13/mag/09 - 21:12,
> Massimiliano Chiorboli ha scritto:
>
>> Dear experts,
>> in a root macro I have a vector of vectors:
>>
>> std::vector< std::vector<TString> > sel;
>>
>>
>> It compiles, but in execution it gives the error:
>>
>> Error: no such template classvector<TString,allocator<TString> >
>> defalloc.h:137:
>>
>> The funny thing is that it was working, until I did some
>> modifications, and it started giving this message.
>> Any idea?
>>
>> Thanks,
>> Massimiliano
>>
>
Received on Thu May 14 2009 - 16:18:11 CEST
This archive was generated by hypermail 2.2.0 : Thu May 14 2009 - 23:50:01 CEST