Building on Windows
Template:Documentation/Building Guide AOO TOC
Contents
Overview
For general information on how to build Apache OpenOffice from source code, see the platform independent page.
Template:Documentation/Windows For building Apache OpenOffice the Cygwin environment is required. Cygwin is a set of programs that run on Windows but emulate a complete Unix command line environment.
As compiler we use Microsoft's Visual C++, not the gcc from Cygwin. Therefore Visual Studio Express can be used for debugging.
To use this document you should be familiar with a bourne command line interpreter (sh or bash), but you need not be a UNIX shell wizard. Template:Documentation/Tip
Build requirements
Additionally to the general build requirements you need
What | Where to get | How to install | |
---|---|---|---|
Windows XP, Windows Vista, Windows 7 | |||
Cygwin | Cygwin Toolkit, minimum version: 1.5.10, preferred: current version] | (default) | |
Visual C++ 2008 Express \\ (C/C++ compiler, debugger) | [1]. Free download, basic install, no optional parts required | --with-cl-home= | |
Windows SDK for Windows Server 2008 | [2][1] | ||
GDI+ Redistributable | [3]. Genuine Windows Validation required. | main/external/gdiplus | |
dbghelp.dll | [4][2] | main/external/dbghelp | |
Runtime libraries | for 2008 compiler starting with DEV300m23: Microsoft_VC90_CRT_x86.msm and policy_9_0_Microsoft_VC90_CRT_x86.msm for non debug builds and Microsoft_VC90_DebugCRT_x86.msm and policy_9_0_Microsoft_VC90_DebugCRT_x86.msm for debug builds[3]
. These merge modules are available in VS08 Express Edition and VS08 Professional Edtion. All *.msm files are located at c:\Program Files\Common Files\Merge Module. |
main/external/msm90 | |
optional: | |||
Mozilla binary distribution | [5] (WNTMSCIruntime.zip,WNTMSCIlib.zip,WNTMSCIinc.zip) Needed as prebuilts for module moz (SeaMonkey) as the current used SeaMonkey version 1.1.4 does not support a build with Visual Studio C++ 2008 compiler. | main/moz/zipped | |
Runtime libraries 7.1 | msvcr71.dll and msvcp71.dll for Mozilla libraries (Search for them in the Web or on your PC. These files should be named as all lower case. Sometimes when downloaded they are upper case and this will cause 'file not found' errors towards the end of the build)) | main/external/msvcp71 | |
Runtime libraries 8.0 | msvcp80.dll and msvcr80.dll for Mozilla libraries (found in c:\WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd/msvc) | main/external/msvcp80 | |
Microsoft DirectX SDK | [6][4] | --with-directx-home= | |
Nullsoft Scriptable Install System (NSIS) | [7][5] |
Cite error: <ref>
tags exist, but no <references/>
tag was found