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?