1 ====================================
2 INSTRUCTIONS FOR WINDOWS USERS
3 ====================================
9 Note: this is a first version, and does not (yet) have
10 the full functionality offered for the Linux case.
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 :
20 to build in debug mode :
22 nmake -f Makefile.msc CFG="Win32 Debug"
26 nmake -f Makefile.msc CFG="Win32 Release"
28 libPythia8.lib will be located in $PYTHIADIR\lib directory
34 To clean intermediate (obj) files :
36 nmake -f Makefile.msc clean CFG="Win32 Debug"
38 nmake -f Makefile.msc clean CFG="Win32 Release"
40 To clean all binaries (obj, idb, pdb, ilk, lib and exe) :
42 nmake -f Makefile.msc distclean CFG="Win32 Debug"
44 nmake -f Makefile.msc distclean CFG="Win32 Release"
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.