TMVA linker error

This might be a silly mistake, but I can’t resolve a linker error which seems to indicate I haven’t installed the TMVA library properly. However, I tried both binary install and my own build which should have the TMVA on top, and I successfully ran TMVA tutorials.

Compilation fails at linking stage with messages like

Undefined symbols for architecture x86_64:
“TMVA::Reader::AddVariable(TString const&, float*)”, referenced from:
TQMVAObservable::Reader::assignVariables() in TQMVAObservable.o

The makefile contains flags for compiling
ROOTCXXFLAGS = -I$(shell $(ROOTCONFIG) --incdir) $(ADDROOTCXXFLAGS)
and for linking
ROOTLIBS = $(shell $(ROOTCONFIG) --libs) -lTreePlayer -lHistPainter
ROOTLDFLAGS = $(shell $(ROOTCONFIG) --ldflags)

I’m on OSX 10.10. Any thoughts on what I might be missing here?

Hi,

can you share the core you are trying to compile and the compilation command you are invoking so that we can reproduce it?

Danilo

Hi Danilo,

please do
svn co svn+ssh://@svn.cern.ch/reps/atlasoff/PhysicsAnalysis/AnalysisCommon/CAF/QFramework/trunk QFramework

cd QFramework;
make

Edvin

Hi,

can you reduce the problem to a simpler reproducer?
In addition, it’s not possible for me to checkout svn: E170001: Authorization failed .

Danilo