Hi,
Previously, I had REST installed on my personal computer.
But, I have found a similar problem to what Elisa had here when I was trying to work with .gas files.
Thus, I decided to rebuild everything.
I am following these instructions:
ROOT and Geant4 I installed with an installROOT.sh and installGeant4.sh scripts respectively.
However, there were some problems with installing Garfield++ with a similar script, therefore I installed it manually with a help of this instruction: http://garfieldpp.web.cern.ch/garfieldpp/getting-started/.
After that, I checked if Garfield is working properly by building an example application.
My environmental variables look this way:
#Added by REST installROOT.sh script to setup ROOT environment
source /home/andriigw/apps/root-6.20.00/install/bin/thisroot.sh
#garfield++ environmental variables
export GARFIELD_HOME=~/apps/garfield
export CMAKE_PREFIX_PATH=$GARFIELD_HOME/install:${CMAKE_PREFIX_PATH}
export HEED_DATABASE=$GARFIELD_HOME/Heed/heed++/database
export LD_LIBRARY_PATH=$GARFIELD_HOME/install/lib:$LD_LIBRARY_PATH
source $GARFIELD_HOME/build/setup.sh
#Added by REST installGeant4.sh script to setup geant4 environment
source $HOME/apps/geant4.10.04.p02-install/bin/geant4.sh
Now, when I am trying to build REST with a command
~/Documents/Soft/REST_v2/build$ cmake โฆ -DREST_G4=ON -DREST_GARFIELD=ON -DINSTALL_PREFIX=/home/andriigw/Documents/Soft/REST_v2/install/master/
I am facing a problem that configuration is incomplete. It looks like Garfield directory could not be found:
โ The C compiler identification is GNU 7.5.0
โ The CXX compiler identification is GNU 7.5.0
โ Check for working C compiler: /usr/bin/cc
โ Check for working C compiler: /usr/bin/cc โ works
โ Detecting C compiler ABI info
โ Detecting C compiler ABI info - done
โ Detecting C compile features
โ Detecting C compile features - done
โ Check for working CXX compiler: /usr/bin/c++
โ Check for working CXX compiler: /usr/bin/c++ โ works
โ Detecting CXX compiler ABI info
โ Detecting CXX compiler ABI info - done
โ Detecting CXX compile features
โ Detecting CXX compile features - done
โ Find ROOT 6.20/00 in /home/andriigw/apps/root-6.20.00/install/bin
โ GARFIELD Garfield_INCLUDE_DIRS-NOTFOUND
โ HEED Include /home/andriigw/apps/garfield/Heed
โ ALL INCLUDES: /home/andriigw/apps/root-6.20.00/install/includeGarfield_INCLUDE_DIRS-NOTFOUND/home/andriigw/apps/garfield/Heed
โ external include directory: /home/andriigw/apps/root-6.20.00/install/includeGarfield_INCLUDE_DIRS-NOTFOUND/home/andriigw/apps/garfield/Heed
โ external libraries to link: -L/home/andriigw/apps/root-6.20.00/install/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTre ePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic-lGui-lEve-lRGL-lGeom-lGdml-lMinuit-lSpectrum/home/andriigw/apps/garfield/install/lib/libGarfield.so
Also, I included my CMakeOutput.txt file here, but, I am sorry, I do not understand how to change my situation. CMakeOutput.txt (44.3 KB)
Could you, please, help me with such a problem?
Thank you in advance!