tomwalters@326
|
1 #summary Building AIM-C on Windows
|
tomwalters@326
|
2
|
tomwalters@331
|
3 = Windows build =
|
tomwalters@326
|
4 Windows build instructions tested on Windows XP. If you know about building on Windows 7 or other platforms, please add the details here.
|
tomwalters@326
|
5
|
tomwalters@326
|
6 Install [http://www.python.org/download/ Python 2.7] (default options)
|
tomwalters@326
|
7
|
tomwalters@326
|
8 Install [http://www.scons.org/download.php SCons 2.0.0.final.0]
|
tomwalters@326
|
9
|
tomwalters@326
|
10 Add C:\Python27\Scripts to the path
|
tomwalters@327
|
11 Control Panel->System->Advanced->Environment Variables->System Variables>PATH->Edit->Add ';C:\Python27\Scripts' (sans quotes) to the end of the line
|
tomwalters@326
|
12
|
tomwalters@326
|
13 Install subversion
|
tomwalters@327
|
14
|
tomwalters@327
|
15 There's a [http://subversion.apache.org/packages.html#windows list of various subversion packages for Windows here], I used [http://www.sliksvn.com/en/download SilkSVN].
|
tomwalters@326
|
16
|
tomwalters@326
|
17 Install [http://www.mega-nerd.com/libsndfile/#Download libsndfile]
|
tomwalters@326
|
18
|
tomwalters@326
|
19 Download and install [http://www.microsoft.com/express/Downloads/#2010-Visual-CPP MS Visual C++ Express 2010]
|
tomwalters@327
|
20
|
tomwalters@327
|
21 The defaults should be fine for installing just VC++ 2010
|
tomwalters@326
|
22
|
tomwalters@326
|
23 Open Command Prompt
|
tomwalters@327
|
24
|
tomwalters@326
|
25 cd to the directory of your choice
|
tomwalters@327
|
26
|
tomwalters@327
|
27 svn checkout http://aimc.googlecode.com/svn/trunk/ aimc-read-only
|
tomwalters@327
|
28
|
tomwalters@328
|
29 Run the 'Visual Studio Command Prompt' and execute the command:
|
tomwalters@331
|
30 scons
|
tomwalters@331
|
31
|
tomwalters@331
|
32 == Building the Python Module ==
|
tomwalters@332
|
33 Download [http://www.swig.org/download.html SWIG]
|
tomwalters@332
|
34
|
tomwalters@332
|
35 If using MSVC 2010
|
tomwalters@332
|
36 Edit
|
tomwalters@333
|
37 C:\Python27\Lib\distutils\msvc9compiler.py line 243 to be
|
tomwalters@333
|
38 toolskey = "VS100COMNTOOLS"
|
tomwalters@333
|
39
|
tomwalters@333
|
40 For all versions of MSVC, you may also need to add the line
|
tomwalters@333
|
41 ld_args.append('/MANIFEST')
|
tomwalters@333
|
42 just after the line
|
tomwalters@333
|
43 ld_args.append('/MANIFESTFILE:' + temp_manifest)
|
tomwalters@333
|
44
|
tomwalters@333
|
45 then run
|
tomwalters@333
|
46 pythonsetup.py "build_ext" |