Sounds interesting. I had thought, obviously incorrectly, that cmake was for building windows applications. I'll certainly give it a try. Also sounds like it might be useful for another project that I have been having trouble with.
Many thanks
Roger

On 10/12/2007, at 8:35 PM, Stefan Schimanski wrote:

Roger Mc Murtrie schrieb:
Item of possible interest to Mac users.
I recently had to do a clean install of Mac OSX 10.5 Leopard on my Intel Mac. Following this I found that building LyX required qt-mac-opensource- src-4.3.3 as LyX builds using previous qt versions resulted in a LyX that crashed. To build any qt-mac-opensource version (I tried 4.2.2 which previously worked OK when built under Tiger and 4.3.2 as well as 4.3.3): 1. I had to delete -fconstant-cfstrings FLAG declarations from qbase.pri files 2. For a number of files I had to change infix relations such as a==b to prefix relations such as operator==(a,b). in one case I had to use ::operator==(a,b), These changes were necessary due to the compiler producing compilation errors that complained about "ambiguity". I assume this is problem with the compiler supplied with Xcode3.0 as for each failure two "candidates" were suggested, one candidate requiring two parameters and the other requiring one parameter. As the relations involve two parameters (a and b), it's hard to see where the "ambiguity" arises!

My configure instruction:
./configure --prefix=/Applications/"LyX1.5svn.app" --with-version- suffix=-1.5 --without-x --with-qt4-dir=/usr/local/Trolltech/ Qt-4.3.3 --with-included-gettext --enable-optimization=-Os --enable- debug --enable-assertions
I have pkg-config installed as I need it for other projects.
Have you tried the cmake build system? It has a Xcode target, i.e. it creates a native Xcode project for LyX. Use it all the time, works perfectly. Look in the README.cmake file for some information. If you need more help, feel free to ask.

Stefan

Reply via email to