Last active
August 29, 2015 14:02
-
-
Save jepio/6b92b0a1d20457e60c01 to your computer and use it in GitHub Desktop.
A list of variables needed to get geant4 working properly in gentoo. Especially the qt4 stuff took a long time to figure out/find.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define geant4 env. variables | |
source /usr/share/Geant4-9.6.2/geant4make/geant4make.sh | |
echo "Geant4 Set" | |
# Define additional variables used by geant4, but that are different in gentoo | |
export QTMOC="/usr/bin/moc-qt4" | |
export QTFLAGS="-I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL" | |
export QTLIBS="-L/usr/lib/qt4 -lQtCore -lQtGui" | |
export GLQTLIBS="-L/usr/lib/qt4 -lQtCore -lQtGui -lQtOpenGL" | |
echo "QT Set" | |
# If HEPMC is needed | |
export HEPMC_DIR="/usr/include/HepMC" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use just add
source geant4.sh
in your.bashrc
.