GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Garfield++ installation
items: Re: Garfield++ installation

Garfield++ installation
type: item
description: I tried now to start with Garfield installation again. Did: module use /cvmfs/it.gsi.de/modulefiles/ module load compiler/gcc/4.8.4 export CC=gcc export CXX=g++ . /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/may16_root6/bin/thisroot.sh export GARFIELD_HOME=/d/land2/kisselev/garfield export HEED_DATABASE=/d/land2/kisselev/garfield/Heed/heed++/database Than: svn co http://svn.cern.ch/guest/garfield/trunk garfield cd garfield mkdir build install cd build cmake -DCMAKE_INSTALL_PREFIX=/d/land2/kisselev/garfield/install -DROOTCINT_EXECUTABLE=rootcint .. cmake ands with: -- Considered magboltz files : Source/magboltz-9.01.f -- ----------------------------------------------------------- -- Directory used to find root dict files: Include -- ########################################################### -- Install path: /d/land2/kisselev/garfield/install -- If you want to change this path call cmake -DCMAKE_INSTALL_PREFIX=my_install_path ... -- Configuring done -- Generating done -- Build files have been written to: /d/land2/kisselev/garfield/build So I concider it is OK. But than: land@lxg0898:build > make [ 0%] generating: /d/land2/kisselev/garfield/build/rootdict/GarfieldDict.cxx /d/land2/kisselev/garfield/build/rootdict/GarfieldDict.h In file included from input_line_12:14: /d/land2/kisselev/garfield/Include/TrackHeed.hh:10:10: fatal error: 'heed++/code/HeedParticle.h' file not found #include "heed++/code/HeedParticle.h" ^ Error: rootcint: compilation failure (/d/land2/kisselev/garfield/build/rootdict/GarfieldDictf4f08f87f2_dictUm brella.h) make[2]: *** [rootdict/GarfieldDict.cxx] Error 1 make[1]: *** [CMakeFiles/Garfield.dir/all] Error 2 make: *** [all] Error 2 Is it something new? Any reason?
creator: Oleg
date: 2016-08-09T10:16:32-00:00

Re: Garfield++ installation
type: item
description: Dear Oleg, I have updated my garfield and now have the same problem. It is obviously a bug in build configuration: Fix: after making checkout with svn, open the garfield/CMakeLists.txt file and directly after line number 54, add following: LIST( APPEND ROOT_DICT_INCLUDE_DIRS Heed ) Then proceed as usual. Best regards, Dima
creator: Dmytro Kresan
date: 2016-08-09T11:39:17-00:00

Re: Garfield++ installation
type: item
description: Please check the fix I posted, and confirm. Best regards, Dima
creator: Dmytro Kresan
date: 2016-08-09T11:41:25-00:00