As ROOTSYS is required for the ROME build, I would suggest to
include the code below in the builder for the application Makefile.
This will make Rome less dependent on the ROOT path.
Replace in ROMEBuilder.cpp:
buffer.AppendFormatted("rootcint -f %sDict.cpp -c -p ",shortCut.Data());
by
buffer.AppendFormatted("LD_LIBRARY_PATH=$(ROOTSYS)/lib $(ROOTSYS)/bin/rootcint
-f %sDict.cpp -c -p ",shortCut.Data()); |