lyx_mirror/development/Win32
Asger Ottar Alstrup 29a94f65cf - Fix path so that running from lyx-devel works
- Update readme


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9623 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-14 08:59:48 +00:00
..
.cvsignore - Files for Windows MSVC compilation added 2005-01-22 15:36:47 +00:00
config.h - Milestone 2 reached 2005-01-23 12:02:25 +00:00
libintl.h - Preprepared libintl.h for MSVC compilation 2005-01-23 12:30:03 +00:00
lyx.sln - Adjust to Lars boost::filesystem stuff 2005-01-31 12:25:04 +00:00
lyx.vcproj - Fix compilation for MSVC after latest package.C changes 2005-02-01 16:08:05 +00:00
lyxprofile win32 port updates 2001-10-04 09:57:02 +00:00
lyxwin32.c Win32 specific changes from Claus Hentschel 2002-06-26 11:51:59 +00:00
package.C - Fix path so that running from lyx-devel works 2005-02-14 08:59:48 +00:00
readme.txt - Fix path so that running from lyx-devel works 2005-02-14 08:59:48 +00:00
version.C - Files for Windows MSVC compilation added 2005-01-22 15:36:47 +00:00
win32_kludge.diff Replace Asger's huge patch with the kludges needed to compile LyX with MSVC. 2005-01-31 16:35:16 +00:00

To compile using MicroSoft Visual Studio 2003.NET, do this:

1) Checkout Qt/Free from CVS next to lyx-devel and compile.
   See http://kde-cygwin.sourceforge.net/qt3-win32/compile-net.php
   for more info. If you get a linking error about qt-mt3.lib, then
   copy lib/qt-mt333.lib to qt-mt3.lib and rerun configure.

2) Make sure QTDIR is set in your global environment, and QTDIR\bin
   is in your path. Control panel, system, advanced, environment
   variables in your friend on Windows XP.

3) Apply the win32_kludge.diff using GNU patch. Download from
   http://gnuwin32.sourceforge.net/packages/patch.htm
   and type "patch -p0 < development\win32\win32_kludge.diff"
   in cmd box with current working directory lyx-devel. 
   Make sure that patch is in your path. (c:\program files\gnuwin32\bin)

4) Open the development\win32\lyx.sln file in Visual Studio,
   compile and run. You can probably also use the free version
   of Microsoft's compiler, but I haven't tried that.

Development:

To get a stack-trace for assertions in LyX, make a breakpoint
in src/Boost.C.
To see the output from LyX, add "2> c:\errors.txt" to the command
line in  Project, Build properties, Debugging, Command arguments


To run LyX, you need a bunch of generated files from configure.

Run "fake.bat" to copy chkconfig.ltx, LaTeXConfig.lyx and lyxrc.defaults
from this directory to their destination.

At start-up, you might get an assertion about a unix path in
boost::filesystem. You can safely ignore that.