diff --git a/ReadMe.txt b/ReadMe.txt index 6130f51ea27104f7cdf5624713d7cc3d41fcfabd..71222af8ee32676f65a94ee43e9fe2d3b0d255ec 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -152,8 +152,18 @@ To build and run the simulation examples Geant4 will be required. Before any of the (new) examples in the ./examples directory can be build, one needs to set the environment: - source __path_where_DD4hep_is_installed_/bin/thisdd4hep.sh - + source __path_where_DD4hep_is_installed_/bin/thisdd4hep.sh + source __path_to_ilcsoft_installation/init_ilcsoft.sh + +or, optionally one can initialize ROOT only, and then specify all dependencies +on the cmake command line - replace 'cmake ..' below with, e.g: + + source /space/ilcsoft/root/5.34.05/bin/thisroot.sh + cmake -DDD4hep_DIR=~/DD4Hep/trunk/ -DGeant4_DIR=/space/ilcsoft/geant4/9.6.p01/lib/Geant4-9.6.1 \ + -D LCIO_DIR=/space/ilcsoft/v01-17-04/lcio/v02-04-03 -D GEAR_DIR=/space/ilcsoft/v01-17-04/gear/v01-03-01 .. + +(change pathes according to your environment) + - then building the examples should be very straight forward. e.g: (check for additional instructions in example subdirectory) @@ -171,7 +181,6 @@ or build all examples in one go: make -j install - - before running the example, initialize the environment: . ./bin/thisILDExDet.sh