]> git.lyx.org Git - lyx.git/blob - INSTALL.Win32
INSTALL.Win32, clarify how to run build_msvc.bat
[lyx.git] / INSTALL.Win32
1 Compiling LyX 1.5 for Win32
2 ===========================
3
4 LyX 1.5 can be compiled with Microsoft Visual C++ 2005.
5
6 Compiling
7 =========
8
9 1       Install MSVC 2005
10         
11         If you don't have MSVC 2005 installed, download and install the free
12         Express edition from http://msdn.microsoft.com/vstudio/express/visualc/
13         
14         You also need to install the Platform SDK, see
15         http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
16         
17 2       Install Python
18         
19         Get the latest Python 2.5 version at
20         http://www.python.org/download/releases/2.5/
21         
22         Install in C:\Python25 and add this directory to the PATH environment
23         variable (Start > Settings > Control Panel > System > Advanced >
24         Environment Variables).
25         
26 3       Install SCons
27         
28         Download and install SCons 0.96.92 from http://www.scons.org/download.php
29         
30 4       Install the dependencies
31         
32         Download ftp://ftp.lyx.org/pub/lyx/contrib/lyx-windows-deps-msvc-qt4.zip
33         and extract in the root directory of your LyX files (so you will get
34         a directory called lyx-windows-deps-msvc next to the other directories
35         like src, development etc.).
36         
37 5       Compile
38         
39         From MS Visual Studio command prompt (not the regular cmd.exe), 
40         run development\Win32\packaging\build_msvc.bat
41
42 Creating the Installer
43 ======================
44         
45         To create an installer with LyX and all related components, download
46         and install the latest NSIS from http://nsis.sourceforge.net
47         
48         Open development\Win32\packaging\installer\setttings.user.nsh and modify
49         the settings depending on your build environment.
50         
51         Finally, go to development\Win32\packaging\installer
52         (in a normal Windows Explorer), right-click on lyx.nsi and click
53         "Compile NSIS Script".