Changeset 146 for Mulberry/trunk
- Timestamp:
- 11/21/07 20:05:16 (1 year ago)
- Files:
-
- 1 modified
-
Mulberry/trunk/Build-Win32.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/trunk/Build-Win32.txt
r143 r146 1 1. USING ECLIPSE AS SUBVERSION TOOL. 1 1. PRE-REQUISITES 2 Get and install Visual Studio 2005 standard edition (at a minimum). 3 If your Visual Studio tool does not have an assembler, get http://nasm.sourceforge.net/. 4 You will need perl installed to build openssl. 5 A Subversion tool will also be required. Instructions below show how to use Eclipse for subversion access. 6 7 2. USING ECLIPSE AS SUBVERSION TOOL. 2 8 3 9 Download/Install JRE 6 from Sun. 4 10 Download/Install Eclipse 3.3 C++ edition from eclipse.org. 5 11 Launch Eclipse. 6 Create a new 'mulberry-open' folder and use that as the Eclipse workspace.12 Create a new 'mulberry-open' folder on disk somewhere and use that as the Eclipse workspace. 7 13 In Eclipse go to Find and Install. 8 Create a new repositorylocation for 'http://subclipse.tigris.org/update_1.2.x'.14 Create a new location for 'http://subclipse.tigris.org/update_1.2.x'. 9 15 Install subclipse 1.4 (do not install the option packages if it reports errors with other missing packages). 10 16 Go to Eclipse's Window/Preferences and navigate to SVN preferences. … … 13 19 In Eclipse open the SVN Repository Exploring Perspective. 14 20 Add a new repository for 'http://svn.mulberrymail.com/mulberry'. 15 Checkout y'Mulberry/trunk' as a project into 'mulberry-open'.21 Checkout 'Mulberry/trunk' as a project into 'mulberry-open'. 16 22 Create a 'Libraries' folder in the 'mulberry-open' folder. 17 23 Add a new repository for 'http://svn.mulberrymail.com/repos'. 18 Checkout 'CICalendar/trunk' as a project into 'mulberry-open /Libraries'.19 Checkout 'XMLLib/trunk' as a project into 'mulberry-open /Libraries'.24 Checkout 'CICalendar/trunk' as a project into 'mulberry-open\Libraries'. 25 Checkout 'XMLLib/trunk' as a project into 'mulberry-open\Libraries'. 20 26 21 2. BUILDING MULBERRY WITH VISUAL STUDIO. 27 3. OpenSSL 22 28 23 Get and install Visual Studio 2005 standard edition (at a minimum). 24 Open mulberry-open/Mulberry/Win32/Mulberry.sln in Visual Studio. 29 Download the latest openssl-0.9.7 release (note 0.9.7 NOT 0.9.8). 30 Extract to an 'openssl' directory in 'mulberry-open\Libraries'. 31 At a command prompt in the 'openssl' directory do: 32 33 perl Configure VC-WIN32 34 35 Then do: 36 37 ms\do_nasm or ms\do_masm or ms\do_ms depending on what assembler you have 38 39 Copy 'openssl\ms\nt.mak' to 'openssl\ms\nt-static.mak'. 40 Edit 'nt-static.mak' and do: 41 42 - Change \MD to \MT in CFLAG. 43 - Change 'OUT_D=out32' to 'OUT_D=out32s'. 44 - Change 'TMP_D=tmp32' to 'TMP_D=tmp32s'. 45 46 Copy 'openssl\ms\nt-static.mak' to 'openssl\ms\nt-debug.mak'. 47 Edit 'nt-debug.mak' and do: 48 49 - Change \MT to \MDd in CFLAG. 50 - Change 'OUT_D=out32s' to 'OUT_D=out32d'. 51 - Change 'TMP_D=tmp32s' to 'TMP_D=tmp32d'. 52 53 Run Visual Studio and open a Command Prompt. 54 Navigate to 'mulberry-open\Libraries\openssl'. 55 Do 'nmake -f ms\nt-debug.mak'. 56 Do 'nmake -f ms\nt-static.mak'. 57 (NB The nmake may error out because it cannot do the mkdir commands that you will see it attempt. 58 If that happens just manually execute the four mkdir commands and try the nmake command again.) 59 Both the nmakes will likely take a while to complete. 60 61 4. BUILDING MULBERRY WITH VISUAL STUDIO. 62 63 Open 'mulberry-open\Mulberry\Win32\Mulberry.sln' in Visual Studio. 25 64 Run the 'Build Solution' command from the 'Build' menu. 65 That will build the Debug variant of all plugins and the Mulberry app.