Re: Compiling with MSVC - and request for general status

2006-10-21 Thread Peter Kümmel
Andre Pönitz wrote: > Quoting Peter Kümmel <[EMAIL PROTECTED]>: > >> Andre Poenitz wrote: >> >>> >>> I ran into this recently with Qt 4.2 and Unix style line endings. >>> >>> uic replaced them by \r\r\n and while this looks a bit funny MSVC >>> refuses to compile it. >>> >>> It's a combination of

Re: Compiling with MSVC - and request for general status

2006-10-21 Thread Andre Pönitz
Quoting Peter Kümmel <[EMAIL PROTECTED]>: Andre Poenitz wrote: I ran into this recently with Qt 4.2 and Unix style line endings. uic replaced them by \r\r\n and while this looks a bit funny MSVC refuses to compile it. It's a combination of an uic bug and MSVC stubborness.. Andre' I'm gl

Re: Compiling with MSVC - and request for general status

2006-10-18 Thread Peter Kümmel
Andre Poenitz wrote: > > I ran into this recently with Qt 4.2 and Unix style line endings. > > uic replaced them by \r\r\n and while this looks a bit funny MSVC > refuses to compile it. > > It's a combination of an uic bug and MSVC stubborness.. > > Andre' > I'm glad to here it's not a cmake

Re: Compiling with MSVC - and request for general status

2006-10-18 Thread Andre Poenitz
On Mon, Oct 16, 2006 at 02:05:31AM +0200, Peter Kümmel wrote: > Peter Kümmel wrote: > > Asger Ottar Alstrup wrote: > >> OK, I managed to compile and run LyX using cmake. > >> > >> I unpackaged Joost's .zip to c:\program files\gnuwin32. I added Qt and > >> Gnuwin32 to PATH, and cmake worked. > >> >

Re: Compiling with MSVC - and request for general status

2006-10-16 Thread Enrico Forestieri
On Mon, Oct 16, 2006 at 07:12:20AM +0200, Asger Ottar Alstrup wrote: > But one more question: Where does output from lyxerr end up? I do not > see it on the console... Huh? I have no problem with that... -- Enrico

Re: Compiling with MSVC - and request for general status

2006-10-16 Thread Bo Peng
In 10/16/06, Bo Peng <[EMAIL PROTECTED]> wrote: > As far as I can see, I am using the official one: > > http://www.zlib.net/zlib123-dll.zip I test scons/msvc and confirm it works. I guess the problem was that you have to specify both extra_lib_path and extra_inc_path for zlib. I may add an opti

Re: Compiling with MSVC - and request for general status

2006-10-16 Thread Bo Peng
As far as I can see, I am using the official one: http://www.zlib.net/zlib123-dll.zip Then I do not see why scons can not locate zlib. Things are fine here. I got the cmake version to build, so this is not critical. I think the chances are probably high that it's scons tool itself which is br

Re: Compiling with MSVC - and request for general status

2006-10-16 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Asger Ottar Alstrup wrote: Investigating further, it seems that QToc::update which is called earlier does not make any toc_models entries: The getTypes() call returns an empty vector. From there, I can see that TocBackend::types is empty, and this is because the TocBac

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Asger Ottar Alstrup
Bo Peng wrote: zlib.lib exists in zlib123-dll\lib, and zlib.h in zlib123-dll\include. I have tried various extra_inc_path variations, but I'm not able to get it to work. Which zlib are you using? It is stated clearly in INSTALL.scons that you need official zlib package (not the mingw one). sco

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Bo Peng
zlib.lib exists in zlib123-dll\lib, and zlib.h in zlib123-dll\include. I have tried various extra_inc_path variations, but I'm not able to get it to work. Which zlib are you using? It is stated clearly in INSTALL.scons that you need official zlib package (not the mingw one). scons looks for zdl

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Asger Ottar Alstrup
Enrico Forestieri wrote: On Sun, Oct 15, 2006 at 03:08:32PM +0200, Asger Ottar Alstrup wrote: Asger Ottar Alstrup wrote: [Configure.py does not work when invoked from LyX, but >> command line does] Is this a known problem? Try creating \Resources\lyxrc.dist with a path prefix entry, someth

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Peter Kümmel
Peter Kümmel wrote: > Asger Ottar Alstrup wrote: >> OK, I managed to compile and run LyX using cmake. >> >> I unpackaged Joost's .zip to c:\program files\gnuwin32. I added Qt and >> Gnuwin32 to PATH, and cmake worked. >> >> When compiling, I got a bunch of errors about Mac line endings, which I >>

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Abdelrazak Younes
Asger Ottar Alstrup wrote: OK, I managed to compile and run LyX using cmake. I unpackaged Joost's .zip to c:\program files\gnuwin32. I added Qt and Gnuwin32 to PATH, and cmake worked. When compiling, I got a bunch of errors about Mac line endings, which I converted manually to DOS line-endin

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Enrico Forestieri
On Sun, Oct 15, 2006 at 03:08:32PM +0200, Asger Ottar Alstrup wrote: > Asger Ottar Alstrup wrote: > > I'm downloading and installing MikTeX now. > > I have installed MikTeX now, and I can run LaTeX from a command prompt. > However, LyX does not find LaTeX when reconfiguring from within LyX. The

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Asger Ottar Alstrup
Asger Ottar Alstrup wrote: I'm downloading and installing MikTeX now. I have installed MikTeX now, and I can run LaTeX from a command prompt. However, LyX does not find LaTeX when reconfiguring from within LyX. The configure script surely runs, because there is lots of spew in the DOS window

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Joost Verburg
Asger Ottar Alstrup wrote: I attach a patch which updates README.win32 based on my experience. Thanks. I'll merge this with the new instructions that I'm preparing. Joost

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Asger Ottar Alstrup
I attach a patch which updates README.win32 based on my experience. Regards, Asger Index: README.Win32 === --- README.Win32(revision 15330) +++ README.Win32(working copy) @@ -2,35 +2,31 @@ README for Win32 =

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Asger Ottar Alstrup
OK, I managed to compile and run LyX using cmake. I unpackaged Joost's .zip to c:\program files\gnuwin32. I added Qt and Gnuwin32 to PATH, and cmake worked. When compiling, I got a bunch of errors about Mac line endings, which I converted manually to DOS line-endings. Then LyX compiled and

Re: Compiling with MSVC - and request for general status

2006-10-15 Thread Asger Ottar Alstrup
OK, Qt compiled correctly. I tried running Scons, but it said that it was too old. I downloaded the nightly package of scons, installed that (after adding python to my path). Now, I try to compile LyX, but I get this: C:\lyx\lyx-devel\development\scons>scons qt_lib_path=c:\lyx\qt-4.2 qt_inc_

Re: Compiling with MSVC - and request for general status

2006-10-14 Thread Asger Ottar Alstrup
Joost Verburg wrote: Asger Ottar Alstrup wrote: Could someone please update those with instructions on what to get and install to compile the Qt4 frontend using MSVC? The INSTALL.Win32 in the 1.4 branch provides detailed instructions for building with Q../Free and MSVC. You can follow this me

Re: Compiling with MSVC - and request for general status

2006-10-14 Thread Abdelrazak Younes
Asger Ottar Alstrup wrote: Hi, I wanted to compile LyX on my machine to prepare for the meeting, but the README.win32 and INSTALL.win32 in trunk seem a little obsolete and not really relevant for MSVC. Could someone please update those with instructions on what to get and install to compile

Re: Compiling with MSVC - and request for general status

2006-10-14 Thread Joost Verburg
Asger Ottar Alstrup wrote: I wanted to compile LyX on my machine to prepare for the meeting, but the README.win32 and INSTALL.win32 in trunk seem a little obsolete and not really relevant for MSVC. Could someone please update those with instructions on what to get and install to compile the Q