X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=INSTALL.Win32;h=aecd1d3644d38f9466fd8d4c0446bb6b69a47a8a;hb=0d583a3c997e4bf861a6e938da86a508c1bdceee;hp=1df870740c153260cd9fc90a359d806cdd93b710;hpb=2511bc6f036be0c42d9c113d4833550baf832190;p=lyx.git diff --git a/INSTALL.Win32 b/INSTALL.Win32 index 1df870740c..aecd1d3644 100644 --- a/INSTALL.Win32 +++ b/INSTALL.Win32 @@ -1,53 +1,25 @@ -Compiling LyX 1.5 for Win32 -=========================== - -LyX 1.5 can be compiled with Microsoft Visual C++ 2005. - -Compiling -========= - -1 Install MSVC 2005 - - If you don't have MSVC 2005 installed, download and install the free - Express edition from http://msdn.microsoft.com/vstudio/express/visualc/ - - You also need to install the Platform SDK, see - http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ - -2 Install Python - - Get the latest Python 2.5 version at - http://www.python.org/download/releases/2.5/ - - Install in C:\Python25 and add this directory to the PATH environment - variable (Start > Settings > Control Panel > System > Advanced > - Environment Variables). - -3 Install SCons - - Download and install SCons 0.96.92 from http://www.scons.org/download.php - -4 Install the dependencies - - Download ftp://ftp.lyx.org/pub/lyx/contrib/lyx-windows-deps-msvc-qt4.zip - and extract in the root directory of your LyX files (so you will get - a directory called lyx-windows-deps-msvc next to the other directories - like src, development etc.). - -5 Compile - - From MS Visual Studio command prompt (not the regular cmd.exe), - run development\Win32\packaging\build_msvc.bat +Compiling LyX 2.2 for Win32 and creating Windows installer +========================================================== + +It's recommended to compile LyX using Microsoft Visual C++ 2015 and CMake. +Pre-compiled packages with dependencies are provided for this environment. + + +Compiling with Microsoft Visual C++ +=================================== + +Follow this Wiki page: + + http://wiki.lyx.org/Windows/Compilation + +If you find there any errors please write a mail to the lyx-devel mailing list. + Creating the Installer ====================== - - To create an installer with LyX and all related components, download - and install the latest NSIS from http://nsis.sourceforge.net - - Open development\Win32\packaging\installer\setttings.user.nsh and modify - the settings depending on your build environment. - - Finally, go to development\Win32\packaging\installer - (in a normal Windows Explorer), right-click on lyx.nsi and click - "Compile NSIS Script". + + - Get NSIS from http://nsis.sourceforge.net + - In the LyX source directory, go to development\Win32\packaging\installer + - Copy the 3 dll-files from there to the DLL folder of the NSIS installation + - Check whether the file locations/paths in settings.nsh match your setup. + - Right-click on lyx.nsi and click "Compile NSIS Script".