root/lyx-devel/branches/BRANCH_1_4_X/INSTALL.Win32

Revision 15772, 2.8 kB (checked in by joost, 2 years ago)

* Custom NSIS plug-ins will be included in the dependency packages
* New Console plug-in with support for restricted users
* Warning message if no PDF viewer is installed

  • Property svn:eol-style set to native
Line 
1 Compiling LyX 1.4 for Win32
2 ===========================
3
4 LyX 1.4 can be compiled with Microsoft Visual C++ 2005 (recommended)
5 or MinGW/MSYS.
6
7 Compiling using MSVC 2005
8 =========================
9
10 1       Install MSVC 2005
11        
12         If you don't have MSVC 2005 installed, download and install the free
13         Express edition from http://msdn.microsoft.com/vstudio/express/visualc/
14        
15         You also need to install the Platform SDK, see
16         http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
17        
18 2       Install Python
19        
20         Get the latest Python 2.5 version at
21         http://www.python.org/download/releases/2.5/
22        
23         Install in C:\Python25 and add this directory to the PATH environment
24         variable (Start > Settings > Control Panel > System > Advanced >
25         Environment Variables).
26        
27 3       Install SCons
28        
29         Download and install SCons 0.96.92 from http://www.scons.org/download.php
30        
31 4       Install the dependencies
32        
33         Download ftp://ftp.lyx.org/pub/lyx/contrib/lyx-windows-deps-msvc.zip
34         and extract in the root directory of your LyX files (so you will get
35         a directory called lyx-windows-deps-msvc next to the other directories
36         like src, development etc.).
37        
38 5       Compile
39        
40         Run development\Win32\packaging\build_msvc.bat
41
42 Compiling using MinGW/MSYS
43 ==========================
44
45 1       Install a MSYS/MinGW environment
46        
47         Download from http://sourceforge.net/projects/mingw/
48        
49         * MSYS 1.0.10 or later 
50         * MinGW Installer 5.0.3 or later
51        
52         Install MSYS in c:\msys and MinGW in c:\msys\mingw. When installing MinGW,
53         select the Candidate package and a Full installation.
54        
55 2       Install Python
56        
57         Get the latest Python 2.5 version at
58         http://www.python.org/download/releases/2.5/
59        
60         Install in C:\Python25 and add this directory to the PATH environment
61         variable (Start > Settings > Control Panel > System > Advanced >
62         Environment Variables).
63        
64 3       Install the dependencies
65        
66         Download ftp://ftp.lyx.org/pub/lyx/contrib/lyx-windows-deps-mingw.zip
67         and extract in c:\msys
68        
69 4       Compile
70        
71         First, copy the LyX source code to c:\msys\home\lyx-14
72        
73         Then, start MSYS and enter:
74        
75         cd /home/lyx-14/development/Win32/packaging
76         ./build_lyxwin.sh
77        
78         Compilation will start and take quite some time.
79        
80         NOTE:
81        
82         If you are compiling a development (SVN) version, you will be asked to run
83         autogen.sh in a Cygwin environment. Download and install Cygwin
84         (www.cygwin.com) with automake/autoconf, start the Cygwin console and
85         enter:
86        
87         cd /cygdrive/c/msys/home/lyx-14
88         ./autogen.sh
89        
90         Then follow step 3 again.
91
92 Creating the Installer
93 ======================
94        
95         To create an installer with LyX and all related components, download
96         and install the latest NSIS from http://nsis.sourceforge.net
97        
98         Open development\Win32\packaging\installer\setttings.user.nsh and modify
99         the settings depending on your build environment.
100        
101         Finally, go to development\Win32\packaging\installer
102         (in a normal Windows Explorer), right-click on lyx.nsi and click
103         "Compile NSIS Script".
Note: See TracBrowser for help on using the browser.