1 To compile using MicroSoft Visual Studio 2003.NET, do this:
3 1) Checkout Qt/Free from CVS next to lyx-devel and compile.
4 See http://kde-cygwin.sourceforge.net/qt3-win32/compile-net.php
5 for more info. If you get a linking error about qt-mt3.lib, then
6 copy lib/qt-mt333.lib to qt-mt3.lib and rerun configure.
8 2) Make sure QTDIR is set in your global environment, and QTDIR\bin
9 is in your path. Control panel, system, advanced, environment
10 variables in your friend on Windows XP.
12 3) Apply the win32_kludge.diff using GNU patch. Download from
13 http://gnuwin32.sourceforge.net/packages/patch.htm
14 and type "patch -p0 < development\win32\win32_kludge.diff"
15 in cmd box with current working directory lyx-devel.
16 Make sure that patch is in your path. (c:\program files\gnuwin32\bin)
18 4) Open the development\win32\lyx.sln file in Visual Studio,
19 compile and run. You can probably also use the free version
20 of Microsoft's compiler, but I haven't tried that.
24 To get a stack-trace for assertions in LyX, make a breakpoint
26 To see the output from LyX, add "2> c:\errors.txt" to the command
27 line in Project, Build properties, Debugging, Command arguments
30 To run LyX, you need a bunch of generated files from configure.
32 Run "fake.bat" to copy chkconfig.ltx, lyxrc.defaults, packages.lst
33 and textclass.lst from fakeconfig to their destination.
35 At start-up, you might get an assertion about a unix path in
36 boost::filesystem. You can safely ignore that.