...
Standalone Windows Distribution
If you do not want to build SLIC yourself, there is a Windows executable available for download.
The current version is available as a ZIP file containing a static binary and the required DLLs.
Download the ZIP file using your browser and unzip the contents to C:. You should see the directory C:\slic_win32.
Test out the binary by running it in a console window.
- Start -> Run -> cmd.
- Press ENTER.
- Go to the SLIC directory.
No Format C:\ cd slic_win32
- Execute SLIC from the command line.
No Format slic
Warning |
---|
Close all Cygwin windows before running SLIC, or the packaged Cygwin DLL will not load properly. |
Info |
---|
Cygwin needs to be installed to run SLIC. |
Download the SLIC Windows binary from this location.
http://www.lcsim.org/dist/slic/slic-current-WIN32-g%2B%2B-bin.tar.gz
Open a Cygwin window and go to the directory where you saved the tarball.
Untar the file after it is saved to your computer.
No Format |
---|
tar -zxvf slic-current-WIN32-g++-bin.tar.gz
|
Now test the binary.
No Format |
---|
cd SimDist
./scripts/slic.sh
|
The slic usage screen should showThe Xerces and Cygwin DLLs are also included so that the package is standalone.
Preliminary Setup for Installation
...
Tip |
---|
The same Cygwin window should be used throughout the installation process in order to preserve the environment variables. |
Package Installations
CLHEP
to preserve the environment variables. |
Package Installations
CLHEP
CLHEP has installation instructions (http://wwwasd.web.cern.ch/wwwasd/lhc\+\+/clhep/INSTALLATION/newCLHEP-install.html) CLHEP has installation instructions for version 1.9 and up. But you should not need them to setup the package.
...
If you receive an error message about a missing DLL cygxerces-c26.dll, then make sure that the PATH is setup correctly and Xerces-C++ was properly installed.C++ was properly installed.
Warning | ||
---|---|---|
If you encounter difficulties running macros, it may be due to the different DOS and Unix end-of-line definitions. You can convert files using:
|
In order to To run with OpenGL visualization, an X-server needs to be running on your machine.
This command will start the Cygwin X-server.
No Format |
---|
startxwin.sh |
Then you need to run SLIC from the xterm that pops-up. At least on my setup, it does not work to run the binary from the plain Cygwin window.
Final Setup Script
The final version of setup.sh (without OpenGL visualization) should be similar to this.
...
If you think this guide could be improved in any way, then please contact the author