Setting up ROOT for eclipse.
ROOT Version: V6.22.02
Eclipse: kepler (Eclipse for c/c++)
Operating System: CentOS Linux 7 (Core)Kernel: Linux 3.10.0-1127.19.1.el7.x86_64
Architecture: x86-64
The instructions for setting up the ROOT framework on eclipse can be found at:
https://twiki.cern.ch/twiki/bin/view/CMSPublic/BristolEclipseTutorial#Get_rootplotKey points:
For each new project created go to :
right click project -> Properties.
go to C/C++ Build -> Settings
under GCC C++ Linker -> miscellaneous add the following statement: