]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PYTHIA8/pythia8175/README.Win32
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PYTHIA8 / pythia8175 / README.Win32
CommitLineData
c6b60c38 1====================================
2 INSTRUCTIONS FOR WINDOWS USERS
3====================================
4
5I) How to build
6II) How to clean
7III) Further notes
8
9Note: this is a first version, and does not (yet) have
10the full functionality offered for the Linux case.
11
12
13I) How to build
14===============
15
16To build Pythia8 on windows, open a command prompt,
17cd to the location where Pythia has been extracted,
18then type nmake with any of these options :
19
20to build in debug mode :
21
22 nmake -f Makefile.msc CFG="Win32 Debug"
23
24in optimized mode :
25
26 nmake -f Makefile.msc CFG="Win32 Release"
27
28libPythia8.lib will be located in $PYTHIADIR\lib directory
29
30
31II) How to clean
32================
33
34To clean intermediate (obj) files :
35
36 nmake -f Makefile.msc clean CFG="Win32 Debug"
37or
38 nmake -f Makefile.msc clean CFG="Win32 Release"
39
40To clean all binaries (obj, idb, pdb, ilk, lib and exe) :
41
42 nmake -f Makefile.msc distclean CFG="Win32 Debug"
43or
44 nmake -f Makefile.msc distclean CFG="Win32 Release"
45
46
47III) Further notes
48==================
49
50Some C++ distributions do not implement the error function erf(x).
51Should you encounter such a compilation problem, the PhaseSpace.h
52and SigmaTotal.h files do contain commented-out erf(x) code,
53that then should be uncommented. The approximation used is not
54of high precision, but fully sufficient for the task at hand.
55
56