Message: Re: Analysis using only ROOT Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Analysis using only ROOT 

Forum: Analysis
Re: Question Analysis using only ROOT (Jamie Wright)
Re: Feedback Re: Analysis using only ROOT (Christina Zacharatou)
Re: None Re: Analysis using only ROOT (Jamie Wright)
Re: Feedback Re: Analysis using only ROOT (Christina Zacharatou)
Re: None Re: Analysis using only ROOT (Christina Zacharatou)
Re: Idea Re: Analysis using only ROOT (Jamie Wright)
Date: 23 Dec, 2008
From: Jason Brudvik <Jason Brudvik>

Just wanted to add something to this discussion. I too had some problems getting
root to cooperate properly with geant, it turned out that my root-config, which
was located /bin/root-config, was an old version, leftover from a previous
installation of root.  My solution to this was similar to what others have
already shown:

CPPFLAGS += -I$(ROOTSYS)/include/
EXTRALIBS = $(shell $(ROOTSYS)/bin/root-config --glibs)

which assumes of course that the environment variable ROOTSYS is set properly,
but if for some reason it's not, then you can just state the paths explicitly.
For example, if you have your newest version of root installed in /usr/local
cern/root/ :

#CPPFLAGS += -I/usr/local/cern/root/include/
#EXTRALIBS = $(shell /usr/local/cern/root/bin/root-config --glibs)

This way, you get around any problems with ROOTSYS be improperly set or an old
root-config being used.

 Add Message Add Message
to: "Re: Analysis using only ROOT"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]