Message: Re: linking geant4 with root Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: linking geant4 with root 

Forum: Installation and Configuration
Re: None linking geant4 with root (Pete Wu)
Re: None Re: linking geant4 with root (Ivana Hrivnacova)
Re: None Re: linking geant4 with root (Pete Wu)
Re: None Re: linking geant4 with root (Ivana Hrivnacova)
Date: 18 Nov, 2015
From: Pete Wu <Pete Wu>

Dear Ivana,

Please find below the output as seen from the terminal for checking root installation path and also the output of the “make” process.

pzw@machintosh$ root-config --prefix /usr/local/root_v5.34.04

pzw@machintosh$ make VERBOSE=1
/opt/local/bin/cmake -H/Users/pzw/G4WORK/PET_Simulation -B/Users/pzw/G4WORK/PET_Simulation-build --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /Users/pzw/G4WORK/PET_Simulation-build/CMakeFiles /Users/pzw/G4WORK/PET_Simulation-build/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/testPET.dir/build.make CMakeFiles/testPET.dir/depend
cd /Users/pzw/G4WORK/PET_Simulation-build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/pzw/G4WORK/PET_Simulation /Users/pzw/G4WORK/PET_Simulation /Users/pzw/G4WORK/PET_Simulation-build /Users/pzw/G4WORK/PET_Simulation-build /Users/pzw/G4WORK/PET_Simulation-build/CMakeFiles/testPET.dir/DependInfo.cmake --color=
Dependee "/Users/pzw/G4WORK/PET_Simulation-build/CMakeFiles/testPET.dir/DependInfo.cmake" is newer than depender "/Users/pzw/G4WORK/PET_Simulation-build/CMakeFiles/testPET.dir/depend.internal".
Dependee "/Users/pzw/G4WORK/PET_Simulation-build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/pzw/G4WORK/PET_Simulation-build/CMakeFiles/testPET.dir/depend.internal".
Scanning dependencies of target testPET
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/testPET.dir/build.make CMakeFiles/testPET.dir/build
[ 10%] Building CXX object CMakeFiles/testPET.dir/testPET.cc.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -DG4INTY_USE_QT -DG4INTY_USE_XT -DG4UI_USE -DG4UI_USE_QT -DG4UI_USE_TCSH -DG4UI_USE_XM -DG4VERBOSE -DG4VIS_USE -DG4VIS_USE_OPENGL -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLXM -DG4VIS_USE_RAYTRACERX -DG4_STORE_TRAJECTORY -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -Qunused-arguments -std=c++98 -I/opt/geant4.10.00.p01/include/Geant4 -I/opt/local/include -I/opt/local/include/QtCore -I/opt/local/include/QtGui -I/opt/local/include/QtOpenGL -I/Users/pzw/G4WORK/PET_Simulation/include    -o CMakeFiles/testPET.dir/testPET.cc.o -c /Users/pzw/G4WORK/PET_Simulation/testPET.cc
[ 20%] Building CXX object CMakeFiles/testPET.dir/src/PETActionInitialization.cc.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -DG4INTY_USE_QT -DG4INTY_USE_XT -DG4UI_USE -DG4UI_USE_QT -DG4UI_USE_TCSH -DG4UI_USE_XM -DG4VERBOSE -DG4VIS_USE -DG4VIS_USE_OPENGL -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLXM -DG4VIS_USE_RAYTRACERX -DG4_STORE_TRAJECTORY -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -Qunused-arguments -std=c++98 -I/opt/geant4.10.00.p01/include/Geant4 -I/opt/local/include -I/opt/local/include/QtCore -I/opt/local/include/QtGui -I/opt/local/include/QtOpenGL -I/Users/pzw/G4WORK/PET_Simulation/include    -o CMakeFiles/testPET.dir/src/PETActionInitialization.cc.o -c /Users/pzw/G4WORK/PET_Simulation/src/PETActionInitialization.cc
[ 30%] Building CXX object CMakeFiles/testPET.dir/src/PETAnalysisManager.cc.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -DG4INTY_USE_QT -DG4INTY_USE_XT -DG4UI_USE -DG4UI_USE_QT -DG4UI_USE_TCSH -DG4UI_USE_XM -DG4VERBOSE -DG4VIS_USE -DG4VIS_USE_OPENGL -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLXM -DG4VIS_USE_RAYTRACERX -DG4_STORE_TRAJECTORY -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -Qunused-arguments -std=c++98 -I/opt/geant4.10.00.p01/include/Geant4 -I/opt/local/include -I/opt/local/include/QtCore -I/opt/local/include/QtGui -I/opt/local/include/QtOpenGL -I/Users/pzw/G4WORK/PET_Simulation/include    -o CMakeFiles/testPET.dir/src/PETAnalysisManager.cc.o -c /Users/pzw/G4WORK/PET_Simulation/src/PETAnalysisManager.cc
In file included from /Users/pzw/G4WORK/PET_Simulation/src/PETAnalysisManager.cc:1:
/Users/pzw/G4WORK/PET_Simulation/include/PETAnalysisManager.hh:6:10: fatal error: 'TRoot.h'
      file not found
#include "TRoot.h"
         ^
1 error generated.
make[2]: *** [CMakeFiles/testPET.dir/src/PETAnalysisManager.cc.o] Error 1
make[1]: *** [CMakeFiles/testPET.dir/all] Error 2
make: *** [all] Error 2
pzw@machintosh$

Your help is very much appreciated.

Best regards, Pete

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: linking geant4 with root   (Ivana Hrivnacova - 19 Nov, 2015)
(_ None: Re: linking geant4 with root   (Pete Wu - 19 Nov, 2015)
1 None: Re: linking geant4 with root   (Ivana Hrivnacova - 20 Nov, 2015)
1 None: Re: linking geant4 with root   (Pete Wu - 20 Nov, 2015)
... 1 Message(s)
2 None: Re: linking geant4 with root   (Pete Wu - 27 Feb, 2016)
1 None: Re: linking geant4 with root   (Ivana Hrivnacova - 08 Mar, 2016)
 Add Message Add Message
to: "Re: linking geant4 with root"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]