On 08/31/2010 03:15 AM, Uwe Stöhr wrote:
Am 31.08.2010 03:04, schrieb Uwe Stöhr:
I am not able to compile LyX 2.0 using CMAKE. I get these errors:

I forgot to say that I'm using
- Microsoft Visual C++ 2008 Express Edition with SP1
- Qt 4.6.3
- Windows XP 64bit (a.k.a. Windows 2003 Server)
- CMake 2.8.2

and build with this batch file:

-----
:: set here the path to Qt's bin folder and to the LyX-MSVC depend bin folder
:: (these are example paths)
PATH=D:\Qt\bin;D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008\bin;%PATH%

:: change directory to the folder where the compile result should be stored
:: (this is an example path)
cd D:\LyXSVN\lyx-devel\compile-result
cmake ..\development\cmake -G"Visual Studio 9 2008" -Dnls=1 -DGNUWIN32_DIR=D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008 -Dmerge=0

:: clean
start lyx.sln :: /clean Release

:: rebuild all generated files
::cmake ..\cmake -Dmerge_rebuild=1

First -Dmerge=0 and then -Dmerge_rebuild=1? This seems fishy...

In general when you are developping for debug, disable merge build. For release mode I agree that this is faster.

Abdel.

Reply via email to