Am 23.03.2010 07:04, schrieb Peter Kümmel:
Reading the file "INSTALL.cmake" I see that this file is outdated (it tells me
that I should install
MSVC 2005). Do we have a more recent description how to use CMake?
Sorry about it state of the file, you could use also msvc 2009.
Could you please update this file if you have some time?
CMake Error at modules/FindQt4.cmake:1017 (message):
Qt qmake not found!
You must have qmake in the PATH.
Thanks, QT is now found. But then I got an error that a GNUWIN32 directory was not found. I solved
this by
set GNUWIN32_DIR=D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008
(This is Joost's dependency package including all libs and dlls we need. So it is not necessary to
have gnuwin32 installed.)
But now I'm sticking on this error:
-- Could not find iconv.dll in standard search path, please add
-- D:/LyXSVN/lyx-devel/lyx-windows-deps-msvc2008/bin
-- to your PATH environment variable.
This error is strange because CMake found the path where iconv.dll is located I use this batch file
to build:
-------------
export PATH=D:\Qt\bin;D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008\bin;%PATH%
set GNUWIN32_DIR=D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008
cd D:\LyXSVN\lyx-devel\compile-result
cmake ..\development\cmake -G"Visual Studio 9 2008"
:: be sure there is a solution
cmake ..\cmake -Dmerge=1
:: clean
devenv lyx.sln /clean Release
------------
So the folder D:/LyXSVN/lyx-devel/lyx-windows-deps-msvc2008/bin that contains the iconv.dll is
already part of the PATH. What am I doing wrong?
(I also tested out the CMake gui as proposed by Joost but without success.)
Besides this, there is another error:
D:\LyXSVN\lyx-devel\compile-result>devenv lyx.sln /clean Release
The command "devenv" is either misspelled or could not be found
I searched my whole PC and there is indeed no executable file named "devenv".
What do I have to install to have devenv?
thanks and regards
Uwe