Hi Mario,
I'm positive that the total time of you reading the part on ACLiC in chapter 7 is less than me copying its content into an email and you reading this email. So why don't you read the users guide, chapter 7.
As I'm a nice guy (sometimes :-), I even gave you the way to compile your code with root - you probably didn't realize it, though: the ".L ..+" compiles it.
If you have to use GCC (trust me, you don't, but you seem not be the listening kind of guy :-) then look at root-config, which returns the flags you'll need to pass to GCC. And you can check rootcint to build the dict, which you then need to compile and link into a library, together with your compiled code.
Or you just read ch7 and use ACLiC.
Cheers, Axel.
Mario Kadastik wrote:
>> root [0] .L MyEvent.cxx+ >> >> root [1] .L MyTreeCreator.cxx+ >> >> root [2] createTree() >> >> >> would be an example. Move your main into a CreateTree() func in >> >> MyTreeCreator.cxx, and you're done. >>
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET