I just installed ROOT on my laptop ( I have Ubuntu Fiesty Fawn 7.04) a few days ago ( I downloaded it using cvs )
I had a few problems during the installation ( I had a bunch of missing libraries on my laptop) but I managed to make it work.
So I tried to compile and run some programs and everything seemed to be fine but…
the following command ( that was just fine when I used it on the computers at work ) is not going through the compilations anymore :
TSpectrum *s1 = new TSpectrum(1);
( I also tried to change it to : TSpectrum *s1 = new TSpectrum(1,0.1);
error message :
/home/zelrikriando/G0Work/macro/ARS/ARSSUMMethod.h:313: undefined reference to `TSpectrum::TSpectrum(int, float)'
collect2: ld a retourné 1 code d’état d’exécution
make: *** [ARSSUMMethod] Erreur 1
I am lost because the same program compiles the desktop computers at work and not on my laptop…
Is this a problem with my install ? or a library issue?
Note : TSpectrum *s1 = new TSpectrum(1); doesnt produce any error on my laptop if I just run ROOT and type it :
root [0] TSpectrum *s2 = new TSpectrum(1);
root [1]