From: Asger Ottar Alstrup Date: Mon, 14 Feb 2005 08:59:48 +0000 (+0000) Subject: - Fix path so that running from lyx-devel works X-Git-Tag: 1.6.10~14546 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=29a94f65cf457a308553f1afe33d3c36d47d98d1;p=features.git - 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 --- diff --git a/development/Win32/package.C b/development/Win32/package.C index c7819007e1..a975e5a544 100644 --- a/development/Win32/package.C +++ b/development/Win32/package.C @@ -182,7 +182,7 @@ string const hardcoded_localedir() string const hardcoded_system_support_dir() { - return string("%LYX_DIR%"); + return string("../../lib/"); } } // namespace anon diff --git a/development/Win32/readme.txt b/development/Win32/readme.txt index 484ab6065f..cddee7780d 100644 --- a/development/Win32/readme.txt +++ b/development/Win32/readme.txt @@ -2,15 +2,19 @@ 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. + 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. @@ -19,7 +23,14 @@ 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. -You can find these on the LyX mailing list in January 2005. +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.