rootlogon.C 6.10.06

Dear Rooters,
the following rootlogon.C worked with root 5 (CINT):

{	
//	#include "mca8000.h"
//{
	gROOT->ProcessLine(".L mca8000.cxx+");
//}
//{
//	gSystem->Load("mca8000_cxx.so");
//}
	MCA8000 *mca = new MCA8000();
}

It works line by line at the root prompt.
I tried different things (see commented lines), no success

Thanks for help
Otto

Hi Otto,

Try this in ROOT 6:

R__LOAD_LIBRARY(mca8000.cxx+)

void rootlogon() {	
	MCA8000 *mca = new MCA8000();
}

Cheers, Axel.

Hi Axel,
thanks, it works
Otto

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.