...
The current version of SLIC is available as a static binary packaged with the Xerces dll. Simply download
Download this file using your browser and unzip the contents to a directory. It Run as usual from the command line. Since all dependencies except Xerces were statically linked, this executable should work on any Windows machine.
...
Tip |
---|
In order for Windows to find the Xerces dll at runtime, its location needs to be in the PATH. Since the PATH usually includes the current directory, i.e. ., the program should work "out-of-the-box" provided that you put the dll and executable in the same directory. |
Preliminary Setup for Installation
Cygwin
The Cygwin Linux emulation package is a prerequisite for building on Windows.
...
No Format |
---|
#!/bin/sh # 1 work area export sim_work=/cygdrive/c/work/nsim # 2 java export JAVA_HOME=/cygdrive/c/Java/jdk1.4.2 export JDK_HOME=${JAVA_HOME} # 3 clhep installation area export CLHEP_BASE_DIR=${sim_work}/clhep # 4 geant4 export G4INSTALL=${sim_work}/geant4/geant4.7.0.p01 export G4SYSTEM=WIN32-g++ #export OGLHOME=/usr/X11R6 #export OGLHOME=/usr #export G4VIS_BUILD_OPENGLX_DRIVER=1 #export G4VIS_USE_OPENGLX=1 # 5 LCPhys export LCPHYS_BASE=${sim_work}/LCPhys # 6 LCIO export LCIO=${sim_work}/lcio export PATH=$LCIO/tools:$LCIO/bin:$PATH # 7 Xerces-C++ installation area export XERCESCROOT=${sim_work}/xercesc export PATH=$XERCESCROOT/libbin:$PATH # 8 GDML export GDML_BASE=${sim_work}/GDML2/CPPGDML export PLATFORM=cygwin_g++ # 9 LCDD export LCDD_BASE=${sim_work}/lcdd # 10 SLIC export SLIC_BASE=${sim_work}/slic |
...