Re: Root dictionary

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 30 Jun 2010 17:08:21 +0200


Hi,

Why do you need to build your own binary? This would be a lot easier if you would do it in ROOT...

I need a concrete example that works and shows the error message.

Cheers, Axel.

Harinder Singh Bawa wrote on 06/30/2010 04:51 PM:
> Dear Root experts,
>
> This problem may be addressed several times and sorted out but I
> couldnot get through. I am compiling C++ code through root CINT and when
> I compile it is complaining about the class dictionary.
>
> Error in <TChain::SetBranchAddress>: The class requested (vector<float>)
> for the branch "el_cl_phi" refer to an stl collection and do not have a
> compiled CollectionProxy. Please generate the dictionary for this class
> (vector<float>)
>
>
> I googled this problem and earlier it was given remedy as to add in front
> |#include <vector>
> #ifdef __MAKECINT__
> #pragma link C++ class vector<vector<double> >+;
> #endif
> and load it as .L filename.C++
>
> I did that except loading it in C+ because I want to compile with my
> Makefile and run as ./. Could you suggest how to do this.
>
> thanks
> |
>
>
> H.S
Received on Wed Jun 30 2010 - 17:08:27 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 01 2010 - 11:50:01 CEST