wiki:CompileGeant4

Compiling Geant4 Qt

With Qt3 and MacOsx

export DYLD_LIBRARY_PATH=/usr/local/Qt/3.3.8/lib:/Users/laurentgarnier/Work/Geant4-Dev/lib/geant4//Darwin-g++

With Qt4 MacOsx

export DYLD_LIBRARY_PATH=/Users/laurentgarnier/Work/Geant4-Dev/lib/geant4//Darwin-g++
date;source ~/Work/svn/trunk/geant4/specific-geant4-dev.sh; cd $G4INSTALL/source/interfaces;rm -rf ../../tmp/$G4SYSTEM/G4UIbasic;rm -rf ../../tmp/$G4SYSTEM/G4UIcommon;make;cd ../visualization/OpenGL;rm -rf ../../../tmp/$G4SYSTEM/G4OpenGL;make;cd $G4INSTALL/examples/novice/N03;rm -rf $G4INSTALL/tmp/$G4SYSTEM/exampleN03;make;date

On unix

  • qt3.1 install on lx3 at lal (for remember)

On windows with VC

  • Launch cygwin
  • cd /cygdrive/c/laurent/local/geant4/geant4_9_0_p01; sh
  • source specific-geant4-dev_window.sh
  • cd source;make
  • cd ../examples/novice/N03;make
  • Launch "MSDOS Terminal"
  • set PATH=%PATH%;C:\laurent\local\qtwin\qt-4\lib
  • cd C:\laurent\local\geant4\geant4_9_0_p01\examples\novice\N03;make
  • C:\geant4\bin\WIN32-VC\exampleN03.exe

On windows on Virtual box with MacOsx

Last modified 16 years ago Last modified on Sep 22, 2008, 3:26:22 PM