[Gate-users] GATE installation
David Boersma
david.boersma at acmit.at
Wed Jan 8 14:15:21 CET 2020
Hi Muhammad,
I assume that you are following these instructions:
https://opengate.readthedocs.io/en/latest/compilation_instructions.html
Correct?
From the error message in your first mail it looks like like you are using the same build directory for Geant4 and for Gate. When compiling from source, each package should be built in a separate build directory.
In the error message of your second mail it looks like ccmake cannot find the Geant4 build information. As explained in sections 4.3 and 4.4, you should run the following two commands *before* running ccmake in your Gate build directory:
source /PATH_TO/geant4.10.05-install/bin/geant4.sh
source /PATH_TO/root_v6.xx/bin/thisroot.sh
Here the "/PATH_TO/.../" paths should be replaced with with the directories where you *installed* (not built) geant4 and ROOT, respectively.
So could you please try the following:
* start a new shell (or a new terminal window)
* run those two source commands (geant4 and ROOT)
* create a new build directory for Gate v8.2 with "mkdir"
* cd into that (empty) build directory
* then run: ccmake /PATH_TO/gate_v8.2
(where you replace "/PATH_TO/gate_v8.2" with the full path to the source directory as you got it from unpacking the source tar ball).
And if that seems to run successfully, continue with make, make install, and run some Gate examples from GateContrib. 😊
Hope that helps, good luck!
David
________________________________
Von: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> im Auftrag von Muhammad Afzaal Sadaqat <muhammadafzaalsadaqat786 at gmail.com>
Gesendet: Dienstag, 7. Jänner 2020 14:59:29
An: gate-users at lists.opengatecollaboration.org
Betreff: [Gate-users] GATE installation
Dear Gate Users,
I have downloaded GATE v8.2 from
http://www.opengatecollaboration.org/GATE80
then
Unzip and untar the downloaded file:
tar -xzf gate_v8.2.tar.gz
In the same directory, i created two directories to build and install GATE:
mkdir gate_v8.2-build
mkdir gate_v8.2-install
After that I moved into the GATE build directory:
cd gate_v8.0-build
when i wrote this command
ccmake ../ Geant4_DIR /home/afzaal/geant4/geant4.10.05.p01-build
in above command i also gave the Geant4 directory where its build files are located.
but i am getting the following error (screenshot attached)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200108/1d9a4eb4/attachment.html>
More information about the Gate-users
mailing list