root/Mulberry/branches/users/kenneth_porter/From-shared-v4.1d1/Win32/Build.txt @ 320

Revision 320, 1.8 kB (checked in by svnusers, 6 months ago)

Add Win32 Build.txt based on v4.0 version.

Line 
11. PRE-REQUISITES
2Get and install Visual Studio 2008 standard edition (at a minimum).
3If your Visual Studio tool does not have an assembler, get
4http://nasm.sourceforge.net/. The current nasm.exe binary should be
5copied to nasmw.exe in one's path for use by the openssl Makefile.
6You will need perl installed to build openssl.
7
82. OpenSSL
9
10Download the latest openssl-0.9.7 release (note 0.9.7 NOT 0.9.8).
11(KAP: testing with 0.9.8m, latest at time of test.)
12Extract to an 'openssl' directory in 'mulberry-open\Libraries'.
13At a command prompt in the 'openssl' directory do:
14
15  perl Configure VC-WIN32
16
17Then do:
18
19  ms\do_nasm or ms\do_masm or ms\do_ms depending on what assembler you have
20
21Copy 'openssl\ms\nt.mak' to 'openssl\ms\nt-static.mak'.
22Edit 'nt-static.mak' and do:
23
24- Change 'OUT_D=out32' to 'OUT_D=out32s'.
25- Change 'TMP_D=tmp32' to 'TMP_D=tmp32s'.
26
27Copy 'openssl\ms\nt-static.mak' to 'openssl\ms\nt-debug.mak'.
28Edit 'nt-debug.mak' and do:
29
30- Change /MT to /MDd in CFLAG.
31- Change 'OUT_D=out32s' to 'OUT_D=out32d'.
32- Change 'TMP_D=tmp32s' to 'TMP_D=tmp32d'.
33
34Open a console window. cd to the Visual Studio top-level directory.
35Run vcvarsall.bat to set up the environment for command line building.
36cd to 'Libraries\openssl'.
37Do 'nmake -f ms\nt-debug.mak'.
38Do 'nmake -f ms\nt-static.mak'.
39
40Both the nmakes will likely take a while to complete.
41
423. BUILDING MULBERRY WITH VISUAL STUDIO.
43
44Add file extension .cp to list of C++ file extensions:
45Select Tools | Options. Go to Projects and Solutions,
46VC++ Project Settings, C/C++ File Extensions, and add *.cp
47to the list if not already present.
48Open 'Win32\Mulberry.sln' in Visual Studio.
49Run the 'Build Solution' command from the 'Build' menu.
50That will build the Debug variant of all plugins and the Mulberry app.
Note: See TracBrowser for help on using the browser.