]> git.lyx.org Git - lyx.git/blobdiff - README.Win32
src/session.h: add virtual destructor to stop compiler complaints.
[lyx.git] / README.Win32
index 16f26d76b737575072e491436cc487f31852e624..a1e5f38609ca2f77ea3121f0e83d8afa2008a7ef 100644 (file)
@@ -1,39 +1,32 @@
-================================================================
-README for Win32 by Ruurd Reitsma (R.A.Reitsma@wbmt.tudelft.nl)
-================================================================
+================
+README for Win32
+================
 
-Lyx has been ported to Win32 using the Cygwin environement. The port
-consists of a few small tweaks to deal with DOS-style pathnames, so
-LyX can use Win32 TeX distros like fptex and MiKTeX. There's also a
-cygwin TeTeX port, but the native Win32 ports have a definite speed
-advantage. Besides that, nothing fancy.
+If you just want to use LyX, get the official Windows installer and
+use that. More detailed help can be found on the wiki at 
+http://wiki.lyx.org/Windows.
 
-The prerequisites are (obviously?):
+If you want to compile LyX yourself, there are a number of ways to do
+that.
 
-* cygwin installation (http://www.cygwin.com/). 
-* decent X server; eXceed, X-Win32, or maybe even Cygwin/XFree86.
-* working TeX installation; fpTex, MikTex.
+LyX has been ported to Win32 using three different compilers:
+Microsoft Visual Studio C++ compiler (VC). MinGW gcc, or Cygwin gcc.
 
-It should compile out of the box, but there might be some libraries
-missing in the final link step. You'll have to add them to the Makefile
-by hand. Be sure to include -lregex, because cygwin's builtin regex is
-sortof weird (filedialogs will turn up empty...)
+There are also three different build solutions avaiable: Scons, Cmake
+or using the traditional Unix autoconf machinery.
 
-If you want to run lyx with no console windows open, there's a small
-program in development/Win32 that will set the proper environment vars
-and start lyx.
+INSTALL.scons covers how to build using SCons, using any of the three
+compilers.
 
-Compile with:
+development/cmake/README.cmake explains how to build using CMake. This
+is especially good with VC, because it produces real .sln files.
 
-gcc lyxwin32.C -O2 -o lyxwin32 -static -Wall -Wno-format \
--Wstrict-prototypes -Wmissing-prototypes -mwindows -e _mainCRTStartup
+See INSTALL.win32 for info about how to build using Cygwin.
 
-Also make sure the latex binaries are in your Windows path. Windvi and
-Yap are auto detected, and you might want to make a symlink to Adobe
-Acrobat so it's detected too:
+Joost has prepared a .zip package with most of the stuff that you'll
+need to compile LyX yourself. Get that from 
+ftp://ftp.lyx.org/pub/lyx/contrib/lyx-windows-deps-msvc.zip.
+Unzip in c:\program files\ and rename the directory to gnuwin32, and 
+you will find that the CMake solution works almost out of the box,
+if you have Visual Studio.
 
-ln -s //c/Program\ Files/adobe/Acrobat\ 4.0/Reader/AcroRd32.exe \
-/usr/bin/acroread
-
-Many thanks to Steven van Dijk, Claus Hentschel and Miyata Shigeru for
-starting the porting business.