- #1
Marioqwe
- 68
- 4
Hello,
I need to install a code on my computer that runs on ROOT and the guy that sent it to me told me that I may have to change some pathnames that are specific to his computer in order for it to work. Now, I do not know how to do that and whenever I cd to the location where I put the Makefile and the folder with the code, I get a bunch of errors.
This is part o the error and I am pretty sure that most of what follows are recurring errors. But anyhow, how can I change the pathnames? I am using a Mac OS.
I need to install a code on my computer that runs on ROOT and the guy that sent it to me told me that I may have to change some pathnames that are specific to his computer in order for it to work. Now, I do not know how to do that and whenever I cd to the location where I put the Makefile and the folder with the code, I get a bunch of errors.
Code:
make: /bin/root-config: Command not found
make: /bin/root-config: Command not found
Compiling components...
g++ -Wall -fPIC -g -W -c /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C -o /Users/mariosolano/desktop/Test_Beam_Code/bin/Main.o
/Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:4:19: error: TROOT.h: No such file or directory
/Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:5:26: error: TApplication.h: No such file or directory
In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/Amalgamation.h:12,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:8:
/Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamDataSummary.h:8:17: error: TH1.h: No such file or directory
In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamDataSummary.h:10,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Amalgamation.h:12,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:8:
/Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamEvent.h:10:21: error: TObject.h: No such file or directory
In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:8:
/Users/mariosolano/desktop/Test_Beam_Code/src/Amalgamation.h:15:17: error: TH2.h: No such file or directory
In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:10:
/Users/mariosolano/desktop/Test_Beam_Code/src/EventDisplay.h:10:21: error: TCanvas.h: No such file or directory
/Users/mariosolano/desktop/Test_Beam_Code/src/EventDisplay.h:11:22: error: TGraph2D.h: No such file or directory
In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/EventDisplay.h:14,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:10:
/Users/mariosolano/desktop/Test_Beam_Code/src/Algorithm.h:5:24: error: TStopwatch.h: No such file or directory
In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/Clipboard.h:14,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Analysis.h:8,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:11:
/Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamTrack.h:11:26: error: Math/Point3D.h: No such file or directory
/Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamTrack.h:13:27: error: Math/Vector3D.h: No such file or directory
/Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamTrack.h:15:21: error: TMinuit.h: No such file or directory
In file included from /Users/mariosolano/desktop/Test_Beam_Code/src/TestBeamTrack.h:21,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Clipboard.h:14,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Analysis.h:8,
from /Users/mariosolano/desktop/Test_Beam_Code/src/Main.C:11:
This is part o the error and I am pretty sure that most of what follows are recurring errors. But anyhow, how can I change the pathnames? I am using a Mac OS.