2005-01-31 12:59:10 +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
|
2005-02-14 08:59:48 +00:00
|
|
|
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.
|
|
|
|
|
2005-01-31 12:59:10 +00:00
|
|
|
2) Make sure QTDIR is set in your global environment, and QTDIR\bin
|
|
|
|
is in your path. Control panel, system, advanced, environment
|
2005-05-03 20:32:55 +00:00
|
|
|
variables is your friend on Windows XP.
|
2005-02-14 08:59:48 +00:00
|
|
|
|
2005-05-03 20:32:55 +00:00
|
|
|
3) Open the development\win32\lyx.sln file in Visual Studio,
|
2005-01-31 12:59:10 +00:00
|
|
|
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.
|
2005-02-14 08:59:48 +00:00
|
|
|
To see the output from LyX, add "2> c:\errors.txt" to the command
|
2005-02-14 09:26:50 +00:00
|
|
|
line in Project, Build properties, Debugging, Command arguments
|
2005-02-14 08:59:48 +00:00
|
|
|
|
2005-01-31 12:59:10 +00:00
|
|
|
|
|
|
|
To run LyX, you need a bunch of generated files from configure.
|
|
|
|
|
2005-02-14 09:26:50 +00:00
|
|
|
Run "fake.bat" to copy chkconfig.ltx, lyxrc.defaults, packages.lst
|
|
|
|
and textclass.lst from fakeconfig to their destination.
|
2005-02-14 08:59:48 +00:00
|
|
|
|
|
|
|
At start-up, you might get an assertion about a unix path in
|
|
|
|
boost::filesystem. You can safely ignore that.
|