Cannot run a root macro with user-defined class

Hi,

I installed Root using command “tar -xzf root_v6.04.02.macosx64-10.8-clang51.tar.gz” o the binary-version file I downloaded from root.cern.ch/content/release-60402 .

In my .bash_profile, I have
export ROOTSYS=$HOME/root
export PATH=$PATH:$ROOTSYS/bin
export LD_LIBRARY_PATH=$LD_LUBRARY_PATH:ROOTSYS/lib

My OS X version is 10.8.5 .

I didn’t modify any files you give me. I attach the three C++ files and also the input txt file just in case.

Cheers,
Kachanon
Data.txt (7.63 KB)
StudentMark.cc (1.23 KB)
StudentMark.h (933 Bytes)
Z_Adjustment_alphaRoot.cc (12.9 KB)