[Gate-users] Error during Gate compilation

Eric Moszczynski eric.moszczynski at hotmail.fr
Mon Jan 30 14:20:29 CET 2017


Hi,

The following command:

root-config --cflags

Returns:

-pthread -m64 -I/usr/include/root

I tried:
 source /usr/include/root_v5.34.14/thisroot.sh(andcsh)

source /usr/include/root/thisroot.sh(and csh)

It doesn't work, the folder doesn't exist.
When I check in usr/include/root, I have no bin folder.

Best regards.

Le 30 janv. 2017 à 12:17, Mathieu DUPONT <mdupont at cppm.in2p3.fr<mailto:mdupont at cppm.in2p3.fr>> a écrit :

it seems like gcc did not find "ROOT"

maybe you missed the step "source /PATH_TO/root_v5.XX/bin/thisroot.sh"

Is the command 'root-config --cflags'  working ?


--
Mathieu Dupont - Ingénieur de Recherche
CENTRE DE PHYSIQUE DES PARTICULES DE MARSEILLE
UMR 7346 - Aix-Marseille Université - CNRS/IN2P3
163 avenue de Luminy, Case 902, F -13288 Marseille CEDEX 09
Tél.: +33 (0) 4 91 82 72 19
Site : cppm.in2p3.fr<http://cppm.in2p3.fr> - Email : mdupont at cppm.in2p3.fr<mailto:mdupont at cppm.in2p3.fr>

________________________________
De: "Eric Moszczynski" <eric.moszczynski at hotmail.fr<mailto:eric.moszczynski at hotmail.fr>>
À: gate-users at lists.opengatecollaboration.org<mailto:gate-users at lists.opengatecollaboration.org>
Cc: "Eric Moszczynski" <e.moszczynski at aerial-crt.com<mailto:e.moszczynski at aerial-crt.com>>
Envoyé: Lundi 30 Janvier 2017 11:40:25
Objet: [Gate-users] Error during Gate compilation

Hi Gate users,

I am re-installing Gate on a new computer and I have an issue during compilation of Gate 7.1
I followed the website instructions: http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.1
Configuration:
Root 5.34.14
Geant4 10.01
Cmake 2.8.12.2
Gcc 4.8.2-1

I have the following issue:

eric at PC:~/Apps/gate_v7.1-build$<mailto:eric at PC:~/Apps/gate_v7.1-build$>make -j4
[  2%] Built target itkzlib
[  6%] Built target MetaIO
[  6%] [  6%] [  6%] [  6%] Building CXX object CMakeFiles/Gate.dir/source/digits_hits/src/GateFragmentationAndProductionActorMessenger.cc.o
Building CXX object CMakeFiles/Gate.dir/source/digits_hits/src/GateSinoAccelToEcat7Messenger.cc.o
Building CXX object CMakeFiles/Gate.dir/source/digits_hits/src/GateCrystalBlurringMessenger.cc.o
Building CXX object CMakeFiles/Gate.dir/source/digits_hits/src/GateMuTables.cc.o
[  6%] Building CXX object CMakeFiles/Gate.dir/source/digits_hits/src/GateProjectionSet.cc.o
In file included from /home/eric/Apps/gate_v7.1/source/digits_hits/src/GateFragmentationAndProductionActorMessenger.cc:12<http://gatefragmentationandproductionactormessenger.cc:12/>:0:
/home/eric/Apps/gate_v7.1/source/digits_hits/include/GateFragmentationAndProductionActor.hh:22:22<x-apple-data-detectors://4>: fatal error: TVector2.h: Aucun fichier ou dossier de ce type
#include "TVector2.h"
                      ^
compilation terminated.
make[2]: *** [CMakeFiles/Gate.dir/source/digits_hits/src/GateFragmentationAndProductionActorMessenger.cc.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[1]: *** [CMakeFiles/Gate.dir/all] Erreur 2
make: *** [all] Erreur 2
eric at PC:~/Apps/gate_v7.1-build$<mailto:eric at PC:~/Apps/gate_v7.1-build$>


It seems there is an issue with TVector2.h file.

Do you have any idea ?

Best regards.


Eric MOSZCZYNSKI
Technicien supérieur en Dosimétrie & Irradiation
e.moszczynski at aerial-crt.com<mailto:e.moszczynski at aerial-crt.com>

Aérial
Parc d'innovation - 250, rue Laurent Fries<x-apple-data-detectors://7/0>
CS 40443 - 67412 Illkirch CEDEX<x-apple-data-detectors://7/0>
France<x-apple-data-detectors://7/0>
Tel : +33 (0)3 88 19 44 01<tel:+33%203%2088%2019%2044%2001>

<image001.png>

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170130/ac29c134/attachment-0001.html>


More information about the Gate-users mailing list