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