Hello Peter,

I've installed MSVC2008 express, "KDE on Windows" and CMake-2.6 beta. Do I need something else? The KDE package seems to have Qt, iconv and libzip, I am not sure about gettext, do I really need it if we compile with internal intl? I use to know this kind of stuff but I forgot :-/ Anyway, CMake doesn't complain about anything, it just give me some warning:

C:\devel\lyx\1.6>cmake ..\trunk\development\cmake -DGNUWIN32_DIR=c:\devel\kde -G
"Visual Studio 9 2008" -Dnls=1 -Dmerge=0
-- Found GNUWIN32: c:\devel\kde
-- Enable merging files with -Dmerge=1
-- Found Qt-Version 4.4.0-beta1

----- Building with ENABLE_NLS
----- No aspell, to get more information use -Daspell=1
----- Console enabled, disable it with -Dnoconsole=1

----- PROGRAM_SUFFIX              : ""
----- LYX_ABS_TOP_SRCDIR          : C:/devel/lyx/trunk/development/cmake
----- LYX_ABS_INSTALLED_DATADIR   : /usr/local/share/lyx
----- LYX_ABS_INSTALLED_LOCALEDIR : /usr/local/share/locale

CMake Warning (dev) at CMakeLists.txt:171 (add_definitions):
 Policy CMP0005 is not set: Preprocessor definition values are now escaped
 automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
 the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-----
----- using precompiled headers, disable with -Ddisable-pch=1
-----
--
-- Enable leak detection with -Dvld=1
--
----- Warning level      : 3  (switch to warning level 4 with -DWALL=1)
----- Warnings as errors : /we4101 /we4189
----- Warnings disabled  : /wd4355 /wd4800 /wd4996 /wd4267 /wd4180

CMake Warning (dev) at intl/CMakeLists.txt:26 (add_definitions):
 Policy CMP0005 is not set: Preprocessor definition values are now escaped
 automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
 the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at intl/CMakeLists.txt:26 (add_definitions):
 Policy CMP0005 is not set: Preprocessor definition values are now escaped
 automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
 the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at intl/CMakeLists.txt:26 (add_definitions):
 Policy CMP0005 is not set: Preprocessor definition values are now escaped
 automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
 the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at intl/CMakeLists.txt:26 (add_definitions):
 Policy CMP0005 is not set: Preprocessor definition values are now escaped
 automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
 the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
CMake Warning (dev) at src/CMakeLists.txt:53 (add_executable):
 Policy CMP0003 should be set before this line.  Add code such as

   if(COMMAND cmake_policy)
     cmake_policy(SET CMP0003 NEW)
   endif(COMMAND cmake_policy)

 as early as possible but after the most recent call to
 cmake_minimum_required or cmake_policy(VERSION).  This warning appears
 because target "lyx" links to some libraries for which the linker must
 search:

   Gdi32, shlwapi

 and other libraries with known full path:

   C:/devel/lyx/1.6/src/mathed/Debug/mathed.lib
   C:/devel/lyx/1.6/src/insets/Debug/insets.lib
   C:/devel/lyx/1.6/src/frontends/qt4/Debug/frontend_qt4.lib
   C:/devel/lyx/1.6/src/frontends/Debug/frontends.lib
   C:/devel/lyx/1.6/src/graphics/Debug/graphics.lib
   C:/devel/lyx/1.6/src/support/Debug/support.lib
   C:/devel/lyx/1.6/intl/Debug/intl.lib
   C:/devel/kde/lib/qtmain.lib
   C:/devel/lyx/1.6/boost/libs/regex/Debug/boost_regex.lib
   C:/devel/lyx/1.6/boost/libs/signals/Debug/boost_signals.lib

CMake is adding directories in the second list to the linker search path in
 case they are needed to find libraries from the first list (for backwards
 compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
 more information.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: C:/devel/lyx/1.6


And then intl won't compile:


1>------ Début de la génération : Projet : intl, Configuration : Debug Win32 ------
1>Compilation en cours...
1>LyX"
1>c1 : fatal error C1083: Impossible d'ouvrir le fichier source : 'Files/LyX"' : No such file or directory
1>bindtextdom.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>intl-compat.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>printf.c
1>c:\devel\lyx\trunk\intl\xsize.h(57) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\xsize.h(58) : error C2085: 'xsum' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\xsize.h(58) : error C2143: erreur de syntaxe : absence de ';' avant '{' 1>c:\devel\lyx\trunk\intl\xsize.h(68) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\xsize.h(69) : error C2085: 'xsum3' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\xsize.h(69) : error C2143: erreur de syntaxe : absence de ';' avant '{' 1>c:\devel\lyx\trunk\intl\xsize.h(78) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\xsize.h(79) : error C2085: 'xsum4' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\xsize.h(79) : error C2143: erreur de syntaxe : absence de ';' avant '{' 1>c:\devel\lyx\trunk\intl\xsize.h(88) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\xsize.h(89) : error C2085: 'xmax' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\xsize.h(89) : error C2143: erreur de syntaxe : absence de ';' avant '{' 1>c:\devel\lyx\trunk\intl\printf-parse.c(146) : warning C4013: 'xsum' non défini(e) ; extern retournant int pris par défaut 1>c:\devel\lyx\trunk\intl\vasnprintf.c(30) : fatal error C1083: Impossible d'ouvrir le fichier include : 'alloca.h' : No such file or directory
1>localcharset.c
1>..\..\trunk\intl\localcharset.c(37) : fatal error C1083: Impossible d'ouvrir le fichier include : 'strings.h' : No such file or directory
1>plural.c
1>plural.y(91) : error C2054: '(' attendu après 'inline'
1>plural.y(93) : error C2085: 'new_exp_0' : ne figure pas dans la liste de paramètres formels
1>plural.y(93) : error C2143: erreur de syntaxe : absence de ';' avant '{'
1>plural.y(97) : error C2054: '(' attendu après 'inline'
1>plural.y(99) : error C2085: 'new_exp_1' : ne figure pas dans la liste de paramètres formels
1>plural.y(99) : error C2143: erreur de syntaxe : absence de ';' avant '{'
1>plural.y(116) : error C2054: '(' attendu après 'inline'
1>plural.y(119) : error C2085: 'new_exp_3' : ne figure pas dans la liste de paramètres formels
1>plural.y(119) : error C2143: erreur de syntaxe : absence de ';' avant '{'
1>plural.y(160) : warning C4013: 'new_exp_3' non défini(e) ; extern retournant int pris par défaut 1>plural.y(160) : warning C4047: '=' : 'expression *' diffère de 'int' dans les niveaux d'indirection 1>plural.y(188) : warning C4013: 'new_exp_1' non défini(e) ; extern retournant int pris par défaut 1>plural.y(188) : warning C4047: '=' : 'expression *' diffère de 'int' dans les niveaux d'indirection 1>plural.y(192) : warning C4013: 'new_exp_0' non défini(e) ; extern retournant int pris par défaut 1>plural.y(192) : warning C4047: '=' : 'expression *' diffère de 'int' dans les niveaux d'indirection 1>plural.y(196) : warning C4047: '=' : 'expression *' diffère de 'int' dans les niveaux d'indirection
1>ngettext.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>dngettext.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>dcngettext.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>dcigettext.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\hash-string.h(29) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\hash-string.h(30) : error C2085: 'hash_string' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\hash-string.h(30) : error C2143: erreur de syntaxe : absence de ';' avant '{' 1>..\..\trunk\intl\dcigettext.c(746) : warning C4013: 'hash_string' non défini(e) ; extern retournant int pris par défaut 1>..\..\trunk\intl\dcigettext.c(753) : warning C4013: 'SWAP' non défini(e) ; extern retournant int pris par défaut
1>l10nflist.c
1>..\..\trunk\intl\l10nflist.c(156) : error C2054: '(' attendu après 'inline' 1>..\..\trunk\intl\l10nflist.c(157) : error C2085: 'pop' : ne figure pas dans la liste de paramètres formels 1>..\..\trunk\intl\l10nflist.c(157) : error C2143: erreur de syntaxe : absence de ';' avant '{' 1>..\..\trunk\intl\l10nflist.c(301) : warning C4013: 'pop' non défini(e) ; extern retournant int pris par défaut
1>textdomain.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>localealias.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels 1>..\..\trunk\intl\localealias.c(109) : warning C4005: 'alloca' : redéfinition de macro 1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\malloc.h(262) : voir la définition précédente de 'alloca'
1>loadmsgcat.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\hash-string.h(29) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\hash-string.h(30) : error C2085: 'hash_string' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\hash-string.h(30) : error C2143: erreur de syntaxe : absence de ';' avant '{' 1>..\..\trunk\intl\loadmsgcat.c(472) : warning C4005: 'alloca' : redéfinition de macro 1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\malloc.h(262) : voir la définition précédente de 'alloca' 1>..\..\trunk\intl\loadmsgcat.c(719) : error C2065: 'uintmax_t' : identificateur non déclaré 1>..\..\trunk\intl\loadmsgcat.c(721) : error C2065: 'uintmax_t' : identificateur non déclaré 1>..\..\trunk\intl\loadmsgcat.c(723) : error C2065: 'uintmax_t' : identificateur non déclaré 1>..\..\trunk\intl\loadmsgcat.c(725) : error C2065: 'uintmax_t' : identificateur non déclaré 1>..\..\trunk\intl\loadmsgcat.c(727) : error C2065: 'uintmax_t' : identificateur non déclaré 1>..\..\trunk\intl\loadmsgcat.c(729) : error C2065: 'uintmax_t' : identificateur non déclaré 1>..\..\trunk\intl\loadmsgcat.c(940) : warning C4013: 'open' non défini(e) ; extern retournant int pris par défaut 1>..\..\trunk\intl\loadmsgcat.c(955) : warning C4013: 'close' non défini(e) ; extern retournant int pris par défaut 1>..\..\trunk\intl\loadmsgcat.c(988) : warning C4013: 'read' non défini(e) ; extern retournant int pris par défaut 1>..\..\trunk\intl\loadmsgcat.c(1033) : warning C4013: 'SWAP' non défini(e) ; extern retournant int pris par défaut 1>..\..\trunk\intl\loadmsgcat.c(1104) : warning C4090: 'fonction' : qualificateurs 'const' différents 1>..\..\trunk\intl\loadmsgcat.c(1155) : warning C4090: 'fonction' : qualificateurs 'const' différents 1>..\..\trunk\intl\loadmsgcat.c(1324) : warning C4013: 'hash_string' non défini(e) ; extern retournant int pris par défaut 1>..\..\trunk\intl\loadmsgcat.c(1359) : warning C4090: 'fonction' : qualificateurs 'const' différents
1>finddomain.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>gettext.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>dgettext.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>dcgettext.c
1>c:\devel\lyx\trunk\intl\gettextP.h(63) : error C2054: '(' attendu après 'inline' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'SWAP' : ne figure pas dans la liste de paramètres formels 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2143: erreur de syntaxe : absence de ';' avant 'type' 1>c:\devel\lyx\trunk\intl\gettextP.h(64) : error C2085: 'i' : ne figure pas dans la liste de paramètres formels
1>Génération de code en cours...
1>Le journal de génération a été enregistré à l'emplacement "file://c:\devel\lyx\1.6\intl\intl.dir\Debug\BuildLog.htm"
1>intl - 91 erreur(s), 21 avertissement(s)
2>------ Début de la génération : Projet : lyx, Configuration : Debug Win32 ------ 3>------ Début de la génération : Projet : tex2lyx, Configuration : Debug Win32 ------
3>Édition des liens en cours...
2>Édition des liens en cours...
3>LINK : fatal error LNK1104: impossible d'ouvrir le fichier '..\..\intl\Debug\intl.lib' 3>Le journal de génération a été enregistré à l'emplacement "file://c:\devel\lyx\1.6\src\tex2lyx\tex2lyx.dir\Debug\BuildLog.htm"
3>tex2lyx - 1 erreur(s), 0 avertissement(s)
2>LINK : fatal error LNK1104: impossible d'ouvrir le fichier '..\intl\Debug\intl.lib' 2>Le journal de génération a été enregistré à l'emplacement "file://c:\devel\lyx\1.6\src\lyx.dir\Debug\BuildLog.htm"
2>lyx - 1 erreur(s), 0 avertissement(s)
4>------ Génération ignorée : Projet : INSTALL, Configuration : Debug Win32 ------ 4>Projet non sélectionné dans le cadre d'une génération pour cette configuration de solution ========== Génération : 0 a réussi, 3 a échoué, 9 mis à jour, 1 a été ignoré ==========


Abdel.

PS: By the way, did you get my message on the kde-windows mailing list?


Reply via email to